Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No checks with typed context #331

Open
StarpTech opened this issue Aug 16, 2021 · 2 comments
Open

No checks with typed context #331

StarpTech opened this issue Aug 16, 2021 · 2 comments

Comments

@StarpTech
Copy link

StarpTech commented Aug 16, 2021

No error is detected but works with import test from 'ava'

import anyTest, { ExecutionContext, TestInterface } from 'ava';
const test = anyTest as TestInterface<TestContext>;
test.only('Should create a new profile',
module.exports = {
	parser: '@typescript-eslint/parser', // Specifies the ESLint parser
	parserOptions: {
		ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
		sourceType: 'module', // Allows for the use of imports
	},
	extends: [
		'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
		'plugin:ava/recommended',
		'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
	],
	plugins: ['import']
};
@StarpTech StarpTech changed the title No checks for "anyTest" No checks with typed context Aug 16, 2021
@Darkle
Copy link

Darkle commented Jan 22, 2023

I get the same issue.
Running eslint v8.32.0 with eslint-plugin-ava v14.0.0

@Darkle
Copy link

Darkle commented Jan 22, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants