category-list.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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": "Stylistic Issues", "description": "These rules relate to style guidelines, and are therefore quite subjective:" },
  8. { "name": "ECMAScript 6", "description": "These rules relate to ES6, also known as ES2015:" }
  9. ],
  10. "deprecated": {
  11. "name": "Deprecated",
  12. "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:",
  13. "rules": []
  14. },
  15. "removed": {
  16. "name": "Removed",
  17. "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:",
  18. "rules": [
  19. { "removed": "generator-star", "replacedBy": ["generator-star-spacing"] },
  20. { "removed": "global-strict", "replacedBy": ["strict"] },
  21. { "removed": "no-arrow-condition", "replacedBy": ["no-confusing-arrow", "no-constant-condition"] },
  22. { "removed": "no-comma-dangle", "replacedBy": ["comma-dangle"] },
  23. { "removed": "no-empty-class", "replacedBy": ["no-empty-character-class"] },
  24. { "removed": "no-empty-label", "replacedBy": ["no-labels"] },
  25. { "removed": "no-extra-strict", "replacedBy": ["strict"] },
  26. { "removed": "no-reserved-keys", "replacedBy": ["quote-props"] },
  27. { "removed": "no-space-before-semi", "replacedBy": ["semi-spacing"] },
  28. { "removed": "no-wrap-func", "replacedBy": ["no-extra-parens"] },
  29. { "removed": "space-after-function-name", "replacedBy": ["space-before-function-paren"] },
  30. { "removed": "space-after-keywords", "replacedBy": ["keyword-spacing"] },
  31. { "removed": "space-before-function-parentheses", "replacedBy": ["space-before-function-paren"] },
  32. { "removed": "space-before-keywords", "replacedBy": ["keyword-spacing"] },
  33. { "removed": "space-in-brackets", "replacedBy": ["object-curly-spacing", "array-bracket-spacing"] },
  34. { "removed": "space-return-throw-case", "replacedBy": ["keyword-spacing"] },
  35. { "removed": "space-unary-word-ops", "replacedBy": ["space-unary-ops"] },
  36. { "removed": "spaced-line-comment", "replacedBy": ["spaced-comment"] }
  37. ]
  38. }
  39. }