eslint-plugin-eslint-plugin
eslint-plugin-eslint-plugin copied to clipboard
An ESLint plugin for linting ESLint plugins
Disallows repeating boilerplate options like `{ parserOptions: { ecmaVersion: 6 } }` in rule tests, in favor of specifying defaults in the `RuleTester` constructor instead. Incorrect code for this rule:...
Requires a rule file to have tests. Can be configured with a location of the tests. ```js /* eslint eslint-plugin/require-rule-tests: ["error", {"testPath": "../../tests/lib/rules/"}] ``` If the file at `../../tests/lib/rules/${__filename}` exists...
_Originally posted by @MichaelDeBoey in https://github.com/eslint-community/eslint-plugin-eslint-plugin/issues/300#issuecomment-1243013325_ We currently use release-it to perform releases via a CLI command. I'm personally open to setting up the package to automatically release based on...
or named `require-meta-schema-completeness`. This could also potentially be part of [eslint-plugin/require-meta-schema](https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/main/docs/rules/require-meta-schema.md) but that's probably too much in one rule. This rule would check for common useless / no-op schemas as...
Before: ```js module.exports = { meta: { messages, schema: [], // no options }, } ``` After autofix (comment in wrong position): ```js module.exports = { meta: { schema: [],...
It turns out that a rule can be valid even if it never reports a violation and thus has no messages. Example: https://github.com/jsx-eslint/eslint-plugin-react/blob/8306a7bc81be567d36c02e21c1d68f44fa3468e3/lib/rules/jsx-uses-vars.js#L54
I want to help! 😄 But, there's no lockfile checked in, and the `.gitignore` explicitly ignores a `yarn.lock`. Should we be using Yarn, then?
We had some previous discussion about this in https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/pull/258 but I want to move the discussion here and decide if we should remove [consistent-output](https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/main/docs/rules/consistent-output.md) from the `recommended` config in a...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.62.0 to 6.20.0. Release notes Sourced from @typescript-eslint/parser's releases. v6.20.0 6.20.0 (2024-01-29) 🚀 Features eslint-plugin: [member-ordering] allow easy reuse of the default ordering (#8248) 🩹 Fixes eslint-plugin:...
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.8.1 to 18.6.0. Release notes Sourced from @commitlint/cli's releases. v18.6.0 18.6.0 (2024-01-25) Features feat(rules): add header-trim rule by @marcalexiei in conventional-changelog/commitlint#3871 Full Changelog: https://github.com/conventional-changelog/commitlint/compare/v18.5.1...v18.6.0 v18.5.1 18.5.1 (2024-01-22)...