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
We should probably look to add some super basic types I currently use:
declare module 'eslint-plugin-n' { import type { ESLint, Linter, Rule } from 'eslint'; export default {} as { meta: { name: string; version: string; }; rules: Record<string, Rule.RuleModule>; configs: { 'recommended-module': ESLint.ConfigData 'recommended-script': ESLint.ConfigData 'recommended': ESLint.ConfigData 'flat/recommended-module': Linter.FlatConfig 'flat/recommended-script': Linter.FlatConfig 'flat/recommended': Linter.FlatConfig 'flat/mixed-esm-and-cjs': Linter.FlatConfig } }; }
The text was updated successfully, but these errors were encountered:
Maybe we can generate this from JSDoc comments? That way they would also be validated against the current code and be a bit more DRY :)
Sorry, something went wrong.
mmm, I do prefer that idea, but it will be a fair bit more work as most of the doc comments dont really work currently 😂
Maybe we can make it in two steps?
scagood
Successfully merging a pull request may close this issue.
We should probably look to add some super basic types I currently use:
The text was updated successfully, but these errors were encountered: