We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It adds autocompletion in eslintrc and allows type-checking it.
This can be done by installing @types/eslint and then adding the following type declaration to the top of the generated .eslintrc.js file:
@types/eslint
.eslintrc.js
/** * @type {import('eslint').Linter.Config<import('eslint/rules/index').ESLintRules>} */
This might be possible to instead do in a separate .d.ts file, but I'm not very proficient in typescript yet.
.d.ts
I'm not sure how to configure the type-checking to actually run on .eslintrc.js.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What problem does this feature solve?
It adds autocompletion in eslintrc and allows type-checking it.
What does the proposed API look like?
This can be done by installing
@types/eslint
and then adding the following type declaration to the top of the generated.eslintrc.js
file:This might be possible to instead do in a separate
.d.ts
file, but I'm not very proficient in typescript yet.I'm not sure how to configure the type-checking to actually run on
.eslintrc.js
.The text was updated successfully, but these errors were encountered: