|
1 | 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=\"{{ '/use/rule-deprecation' | url }}\">deprecation policy</a>, and replaced by newer rules:", |
10 |
| - "rules": [] |
| 2 | + "types": { |
| 3 | + "problem": [], |
| 4 | + "suggestion": [], |
| 5 | + "layout": [] |
11 | 6 | },
|
12 |
| - "removed": { |
13 |
| - "name": "Removed", |
14 |
| - "description": "These rules from older versions of ESLint (before the <a href=\"{{ '/use/rule-deprecation' | url }}\">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 |
| - } |
| 7 | + "deprecated": [], |
| 8 | + "removed": [ |
| 9 | + { "removed": "generator-star", "replacedBy": ["generator-star-spacing"] }, |
| 10 | + { "removed": "global-strict", "replacedBy": ["strict"] }, |
| 11 | + { "removed": "no-arrow-condition", "replacedBy": ["no-confusing-arrow", "no-constant-condition"] }, |
| 12 | + { "removed": "no-comma-dangle", "replacedBy": ["comma-dangle"] }, |
| 13 | + { "removed": "no-empty-class", "replacedBy": ["no-empty-character-class"] }, |
| 14 | + { "removed": "no-empty-label", "replacedBy": ["no-labels"] }, |
| 15 | + { "removed": "no-extra-strict", "replacedBy": ["strict"] }, |
| 16 | + { "removed": "no-reserved-keys", "replacedBy": ["quote-props"] }, |
| 17 | + { "removed": "no-space-before-semi", "replacedBy": ["semi-spacing"] }, |
| 18 | + { "removed": "no-wrap-func", "replacedBy": ["no-extra-parens"] }, |
| 19 | + { "removed": "space-after-function-name", "replacedBy": ["space-before-function-paren"] }, |
| 20 | + { "removed": "space-after-keywords", "replacedBy": ["keyword-spacing"] }, |
| 21 | + { "removed": "space-before-function-parentheses", "replacedBy": ["space-before-function-paren"] }, |
| 22 | + { "removed": "space-before-keywords", "replacedBy": ["keyword-spacing"] }, |
| 23 | + { "removed": "space-in-brackets", "replacedBy": ["object-curly-spacing", "array-bracket-spacing"] }, |
| 24 | + { "removed": "space-return-throw-case", "replacedBy": ["keyword-spacing"] }, |
| 25 | + { "removed": "space-unary-word-ops", "replacedBy": ["space-unary-ops"] }, |
| 26 | + { "removed": "spaced-line-comment", "replacedBy": ["spaced-comment"] } |
| 27 | + ] |
36 | 28 | }
|
0 commit comments