Skip to content

Commit 7827196

Browse files
committed
Group deprecated and removed rules by version
1 parent 48f804c commit 7827196

File tree

1 file changed

+19
-34
lines changed

1 file changed

+19
-34
lines changed

index.js

+19-34
Original file line numberDiff line numberDiff line change
@@ -173,51 +173,36 @@ module.exports = {
173173
"vue/template-curly-spacing": "off",
174174

175175
...(includeDeprecated && {
176+
// Removed in version 0.10.0.
177+
// https://eslint.org/docs/latest/rules/space-unary-word-ops
178+
"space-unary-word-ops": "off",
179+
176180
// Removed in version 1.0.0.
177-
// https://eslint.org/docs/latest/rules/generator-star
181+
// https://github.com/eslint/eslint/issues/1898
178182
"generator-star": "off",
179-
// Deprecated since version 4.0.0.
180-
// https://github.com/eslint/eslint/pull/8286
181-
"indent-legacy": "off",
182-
// Removed in version 2.0.0.
183-
// https://eslint.org/docs/latest/rules/no-arrow-condition
184-
"no-arrow-condition": "off",
185-
// Removed in version 1.0.0.
186-
// https://eslint.org/docs/latest/rules/no-comma-dangle
187183
"no-comma-dangle": "off",
188-
// Removed in version 1.0.0.
189-
// https://eslint.org/docs/latest/rules/no-reserved-keys
190184
"no-reserved-keys": "off",
191-
// Removed in version 1.0.0.
192-
// https://eslint.org/docs/latest/rules/no-space-before-semi
193185
"no-space-before-semi": "off",
194-
// Deprecated since version 3.3.0.
195-
// https://eslint.org/docs/rules/no-spaced-func
196-
"no-spaced-func": "off",
197-
// Removed in version 1.0.0.
198-
// https://eslint.org/docs/latest/rules/no-wrap-func
199186
"no-wrap-func": "off",
200-
// Removed in version 1.0.0.
201-
// https://eslint.org/docs/latest/rules/space-after-function-name
202187
"space-after-function-name": "off",
203-
// Removed in version 2.0.0.
204-
// https://eslint.org/docs/latest/rules/space-after-keywords
205-
"space-after-keywords": "off",
206-
// Removed in version 1.0.0.
207-
// https://eslint.org/docs/latest/rules/space-before-function-parentheses
208188
"space-before-function-parentheses": "off",
209-
// Removed in version 2.0.0.
210-
// https://eslint.org/docs/latest/rules/space-before-keywords
211-
"space-before-keywords": "off",
212-
// Removed in version 1.0.0.
213-
// https://eslint.org/docs/latest/rules/space-in-brackets
214189
"space-in-brackets": "off",
190+
215191
// Removed in version 2.0.0.
216-
// https://eslint.org/docs/latest/rules/space-return-throw-case
192+
// https://github.com/eslint/eslint/issues/5032
193+
"no-arrow-condition": "off",
194+
"space-after-keywords": "off",
195+
"space-before-keywords": "off",
217196
"space-return-throw-case": "off",
218-
// Removed in version 0.10.0.
219-
// https://eslint.org/docs/latest/rules/space-unary-word-ops
220-
"space-unary-word-ops": "off",
197+
198+
// Deprecated since version 3.3.0.
199+
// https://eslint.org/docs/rules/no-spaced-func
200+
"no-spaced-func": "off",
201+
202+
// Deprecated since version 4.0.0.
203+
// https://github.com/eslint/eslint/pull/8286
204+
"indent-legacy": "off",
205+
221206
// Deprecated since version 7.0.0.
222207
// https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#700---2017-05-06
223208
"react/jsx-space-before-closing": "off",

0 commit comments

Comments
 (0)