Skip to content

Commit

Permalink
docs: add sub-list of configs to attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Apr 12, 2022
1 parent a4a7c45 commit 5131919
Show file tree
Hide file tree
Showing 126 changed files with 386 additions and 255 deletions.
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/TEMPLATE.md
Expand Up @@ -54,7 +54,8 @@ For example if this rule requires a feature released in a certain TS version.

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [ ] 🔧 Fixable
- [ ] 💭 Requires type information
Expand Up @@ -107,7 +107,8 @@ If you don't care about the general structure of the code, then you will not nee

## Attributes

- [x] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [x] ✅ Recommended
- [x] ✔ Strict
- [ ] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/array-type.md
Expand Up @@ -125,7 +125,8 @@ This matrix lists all possible option combinations and their expected results fo

## Attributes

- [ ] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [x] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/await-thenable.md
Expand Up @@ -53,7 +53,8 @@ This is generally not preferred, but can sometimes be useful for visual consiste

## Attributes

- [x] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [x] ✅ Recommended
- [x] ✔ Strict
- [ ] 🔧 Fixable
- [x] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/ban-ts-comment.md
Expand Up @@ -145,7 +145,8 @@ If you want to use all of the TypeScript directives.

## Attributes

- [x] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [x] ✅ Recommended
- [x] ✔ Strict
- [ ] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/ban-tslint-comment.md
Expand Up @@ -49,7 +49,8 @@ If you are still using TSLint.

## Attributes

- [ ] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [x] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/ban-types.md
Expand Up @@ -189,7 +189,8 @@ const curly2: Record<'a', string> = { a: 'string' };

## Attributes

- [x] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [x] ✅ Recommended
- [x] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/brace-style.md
Expand Up @@ -29,7 +29,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
Expand Up @@ -111,7 +111,8 @@ for how literal values are exposed by your classes.

## Attributes

- [ ] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [x] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/comma-dangle.md
Expand Up @@ -41,7 +41,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/comma-spacing.md
Expand Up @@ -29,7 +29,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
Expand Up @@ -85,7 +85,8 @@ type Foo = {

## Attributes

- [ ] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [x] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
Expand Up @@ -119,7 +119,8 @@ If you do not want to enforce consistent type assertions.

## Attributes

- [ ] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [x] ✔ Strict
- [ ] 🔧 Fixable
- [ ] 💭 Requires type information
Expand Up @@ -87,7 +87,8 @@ If you specifically want to use an interface or type literal for stylistic reaso

## Attributes

- [ ] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [x] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/consistent-type-exports.md
Expand Up @@ -82,7 +82,8 @@ export { Button, type ButtonProps } from 'some-library';

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [x] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/consistent-type-imports.md
Expand Up @@ -67,7 +67,8 @@ const x: import('Bar') = 1;

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/default-param-last.md
Expand Up @@ -65,7 +65,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [ ] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/dot-notation.md
Expand Up @@ -90,7 +90,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [ ] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [x] ✔ Strict
- [x] 🔧 Fixable
- [x] 💭 Requires type information
Expand Up @@ -293,7 +293,8 @@ you will not need this rule.

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [ ] 🔧 Fixable
- [ ] 💭 Requires type information
Expand Up @@ -351,7 +351,8 @@ If you think defaulting to public is a good default, then you should consider us

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
Expand Up @@ -288,7 +288,8 @@ If you wish to make sure all functions have explicit return types, as opposed to

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [ ] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/func-call-spacing.md
Expand Up @@ -29,7 +29,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/indent.md
Expand Up @@ -33,7 +33,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/init-declarations.md
Expand Up @@ -29,7 +29,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [ ] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/keyword-spacing.md
Expand Up @@ -29,7 +29,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
Expand Up @@ -80,7 +80,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/member-delimiter-style.md
Expand Up @@ -211,7 +211,8 @@ If you don't care about enforcing a consistent member delimiter in interfaces an
## Attributes
- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/member-ordering.md
Expand Up @@ -1115,7 +1115,8 @@ If you don't care about the general structure of your classes and interfaces, th

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [ ] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/method-signature-style.md
Expand Up @@ -107,7 +107,8 @@ If you don't want to enforce a particular style for object/interface function ty

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/naming-convention.md
Expand Up @@ -703,7 +703,8 @@ If you do not want to enforce naming conventions for anything.

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [ ] 🔧 Fixable
- [x] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/no-array-constructor.md
Expand Up @@ -52,7 +52,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [x] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [x] ✅ Recommended
- [x] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/no-base-to-string.md
Expand Up @@ -92,7 +92,8 @@ If you don't mind `"[object Object]"` in your strings, then you will not need th

## Attributes

- [ ] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [x] ✔ Strict
- [ ] 🔧 Fixable
- [x] 💭 Requires type information
Expand Up @@ -64,7 +64,8 @@ If you don't care about this confusion, then you will not need this rule.

## Attributes

- [ ] ✅ Recommended
- [x] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [x] ✔ Strict
- [x] 🔧 Fixable
- [ ] 💭 Requires type information
Expand Up @@ -154,7 +154,8 @@ Also, if you prefer concise coding style then also don't use it.

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [x] 🔧 Fixable
- [x] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/no-dupe-class-members.md
Expand Up @@ -29,7 +29,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [ ] 🔧 Fixable
- [ ] 💭 Requires type information
5 changes: 3 additions & 2 deletions packages/eslint-plugin/docs/rules/no-duplicate-imports.md
Expand Up @@ -29,7 +29,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/

## Attributes

- [ ] ✅ Recommended
- [ ] ✔ Strict
- Configs:
- [ ] ✅ Recommended
- [ ] ✔ Strict
- [ ] 🔧 Fixable
- [ ] 💭 Requires type information

0 comments on commit 5131919

Please sign in to comment.