1 | {
|
2 | "types": [
|
3 | { "name": "problem", "displayName": "Possible Problems", "description": "These rules relate to possible logic errors in code:" },
|
4 | { "name": "suggestion", "displayName": "Suggestions", "description": "These rules suggest alternate ways of doing things:" },
|
5 | { "name": "layout", "displayName": "Layout & Formatting", "description": "These rules care about how the code looks rather than how it executes:" }
|
6 | ],
|
7 | "deprecated": {
|
8 | "name": "Deprecated",
|
9 | "description": "These rules have been deprecated in accordance with the <a href=\"/docs/user-guide/rule-deprecation\">deprecation policy</a>, and replaced by newer rules:",
|
10 | "rules": []
|
11 | },
|
12 | "removed": {
|
13 | "name": "Removed",
|
14 | "description": "These rules from older versions of ESLint (before the <a href=\"/docs/user-guide/rule-deprecation\">deprecation policy</a> existed) have been replaced by newer rules:",
|
15 | "rules": [
|
16 | { "removed": "generator-star", "replacedBy": ["generator-star-spacing"] },
|
17 | { "removed": "global-strict", "replacedBy": ["strict"] },
|
18 | { "removed": "no-arrow-condition", "replacedBy": ["no-confusing-arrow", "no-constant-condition"] },
|
19 | { "removed": "no-comma-dangle", "replacedBy": ["comma-dangle"] },
|
20 | { "removed": "no-empty-class", "replacedBy": ["no-empty-character-class"] },
|
21 | { "removed": "no-empty-label", "replacedBy": ["no-labels"] },
|
22 | { "removed": "no-extra-strict", "replacedBy": ["strict"] },
|
23 | { "removed": "no-reserved-keys", "replacedBy": ["quote-props"] },
|
24 | { "removed": "no-space-before-semi", "replacedBy": ["semi-spacing"] },
|
25 | { "removed": "no-wrap-func", "replacedBy": ["no-extra-parens"] },
|
26 | { "removed": "space-after-function-name", "replacedBy": ["space-before-function-paren"] },
|
27 | { "removed": "space-after-keywords", "replacedBy": ["keyword-spacing"] },
|
28 | { "removed": "space-before-function-parentheses", "replacedBy": ["space-before-function-paren"] },
|
29 | { "removed": "space-before-keywords", "replacedBy": ["keyword-spacing"] },
|
30 | { "removed": "space-in-brackets", "replacedBy": ["object-curly-spacing", "array-bracket-spacing"] },
|
31 | { "removed": "space-return-throw-case", "replacedBy": ["keyword-spacing"] },
|
32 | { "removed": "space-unary-word-ops", "replacedBy": ["space-unary-ops"] },
|
33 | { "removed": "spaced-line-comment", "replacedBy": ["spaced-comment"] }
|
34 | ]
|
35 | }
|
36 | }
|