1 | {
|
2 | "categories": [
|
3 | { "name": "Possible Errors", "description": "These rules relate to possible syntax or logic errors in JavaScript code:" },
|
4 | { "name": "Best Practices", "description": "These rules relate to better ways of doing things to help you avoid problems:" },
|
5 | { "name": "Strict Mode", "description": "These rules relate to strict mode directives:" },
|
6 | { "name": "Variables", "description": "These rules relate to variable declarations:" },
|
7 | { "name": "Node.js and CommonJS", "description": "These rules relate to code running in Node.js, or in browsers with CommonJS:" },
|
8 | { "name": "Stylistic Issues", "description": "These rules relate to style guidelines, and are therefore quite subjective:" },
|
9 | { "name": "ECMAScript 6", "description": "These rules relate to ES6, also known as ES2015:" }
|
10 | ],
|
11 | "deprecated": {
|
12 | "name": "Deprecated",
|
13 | "description": "These rules have been deprecated and replaced by newer rules:",
|
14 | "rules": []
|
15 | },
|
16 | "removed": {
|
17 | "name": "Removed",
|
18 | "description": "These rules from older versions of ESLint have been replaced by newer rules:",
|
19 | "rules": [
|
20 | { "removed": "generator-star", "replacedBy": ["generator-star-spacing"] },
|
21 | { "removed": "global-strict", "replacedBy": ["strict"] },
|
22 | { "removed": "no-arrow-condition", "replacedBy": ["no-confusing-arrow", "no-constant-condition"] },
|
23 | { "removed": "no-comma-dangle", "replacedBy": ["comma-dangle"] },
|
24 | { "removed": "no-empty-class", "replacedBy": ["no-empty-character-class"] },
|
25 | { "removed": "no-empty-label", "replacedBy": ["no-labels"] },
|
26 | { "removed": "no-extra-strict", "replacedBy": ["strict"] },
|
27 | { "removed": "no-reserved-keys", "replacedBy": ["quote-props"] },
|
28 | { "removed": "no-space-before-semi", "replacedBy": ["semi-spacing"] },
|
29 | { "removed": "no-wrap-func", "replacedBy": ["no-extra-parens"] },
|
30 | { "removed": "space-after-function-name", "replacedBy": ["space-before-function-paren"] },
|
31 | { "removed": "space-after-keywords", "replacedBy": ["keyword-spacing"] },
|
32 | { "removed": "space-before-function-parentheses", "replacedBy": ["space-before-function-paren"] },
|
33 | { "removed": "space-before-keywords", "replacedBy": ["keyword-spacing"] },
|
34 | { "removed": "space-in-brackets", "replacedBy": ["object-curly-spacing", "array-bracket-spacing"] },
|
35 | { "removed": "space-return-throw-case", "replacedBy": ["keyword-spacing"] },
|
36 | { "removed": "space-unary-word-ops", "replacedBy": ["space-unary-ops"] },
|
37 | { "removed": "spaced-line-comment", "replacedBy": ["spaced-comment"] }
|
38 | ]
|
39 | }
|
40 | }
|