eslint-plugin-eslint-plugin icon indicating copy to clipboard operation
eslint-plugin-eslint-plugin copied to clipboard

An ESLint plugin for linting ESLint plugins

Results 56 eslint-plugin-eslint-plugin issues
Sort by recently updated
recently updated
newest added

When there's a spread inside the meta object that we can't evaluate, we might want to stop flagging these violations since likely the spread fills these properties in already: ```...

bug

Related of #272 but distinct and might be a bit easier to fix since we just need to evaluate the spread. ```js const fixOrSuggest: { fix: TSESLint.ReportFixFunction | null; suggest:...

bug

Some of our rules need to be able to detect when suggestions are reported. I found a situation where we fail to unwrap the suggestions: https://github.com/typescript-eslint/typescript-eslint/blob/ad412cdd74dc5619fbe4bf27c0a5eb5c5a4b65ca/packages/eslint-plugin/src/rules/no-empty-interface.ts#L86 ```js context.report({ node: node.id,...

bug

Starting a list of my desired breaking changes, feedback welcome. We can perform this release once we have compiled enough changes. We should watch out for any breaking changes needed...

BREAKING CHANGE

This will enable the helper to properly resolve object key names that use variables like: ```js const FOO = 'some-property-name'; const obj = { [FOO] = 'hello world' } ```...

bug

```bash > eslint . --ignore-pattern "!.*" /home/weiran/repo/eslint-plugin-eslint-plugin/docs/rules/consistent-output.md 16:1 warning '/*eslint*/' has no effect because you have 'noInlineConfig' setting in your config (.eslintrc.js#overrides[3]) 37:1 warning '/*eslint*/' has no effect because you...

If there is a folder that contains a rule index JS file and other util modules the pattern will require a wrong documentation Let's say I have a rule in...

If all test cases specify the same `parserOptions`, then `parserOptions` should be set globally in the test file when creating the `RuleTester` to simplify the individual test cases. Before: ```...

When writing ESLint rule tests using [RuleTester](https://eslint.org/docs/developer-guide/nodejs-api#ruletester), it can be beneficial to enforce consistent usage of the `errors` property in this RuleTester docs screenshot: ![image](https://user-images.githubusercontent.com/2344137/40594539-c5492a8c-61fd-11e8-98b1-e28a54f877f1.png) For example, I usually always...

accepted
rule
feature
needs bikeshedding

if a rule has a very large number of test cases, it would be fine to reorder them based on `options`. this rule can enforce code like this to improve...

accepted
rule
feature