Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

72 rindas
2.3 KiB

pirms 4 gadiem
  1. /**
  2. * @fileoverview Configuration applied when a user configuration extends from
  3. * eslint:recommended.
  4. * @author Nicholas C. Zakas
  5. */
  6. "use strict";
  7. /* eslint sort-keys: ["error", "asc"] */
  8. /** @type {import("../lib/shared/types").ConfigData} */
  9. module.exports = {
  10. rules: {
  11. "constructor-super": "error",
  12. "for-direction": "error",
  13. "getter-return": "error",
  14. "no-async-promise-executor": "error",
  15. "no-case-declarations": "error",
  16. "no-class-assign": "error",
  17. "no-compare-neg-zero": "error",
  18. "no-cond-assign": "error",
  19. "no-const-assign": "error",
  20. "no-constant-condition": "error",
  21. "no-control-regex": "error",
  22. "no-debugger": "error",
  23. "no-delete-var": "error",
  24. "no-dupe-args": "error",
  25. "no-dupe-class-members": "error",
  26. "no-dupe-else-if": "error",
  27. "no-dupe-keys": "error",
  28. "no-duplicate-case": "error",
  29. "no-empty": "error",
  30. "no-empty-character-class": "error",
  31. "no-empty-pattern": "error",
  32. "no-ex-assign": "error",
  33. "no-extra-boolean-cast": "error",
  34. "no-extra-semi": "error",
  35. "no-fallthrough": "error",
  36. "no-func-assign": "error",
  37. "no-global-assign": "error",
  38. "no-import-assign": "error",
  39. "no-inner-declarations": "error",
  40. "no-invalid-regexp": "error",
  41. "no-irregular-whitespace": "error",
  42. "no-misleading-character-class": "error",
  43. "no-mixed-spaces-and-tabs": "error",
  44. "no-new-symbol": "error",
  45. "no-obj-calls": "error",
  46. "no-octal": "error",
  47. "no-prototype-builtins": "error",
  48. "no-redeclare": "error",
  49. "no-regex-spaces": "error",
  50. "no-self-assign": "error",
  51. "no-setter-return": "error",
  52. "no-shadow-restricted-names": "error",
  53. "no-sparse-arrays": "error",
  54. "no-this-before-super": "error",
  55. "no-undef": "error",
  56. "no-unexpected-multiline": "error",
  57. "no-unreachable": "error",
  58. "no-unsafe-finally": "error",
  59. "no-unsafe-negation": "error",
  60. "no-unused-labels": "error",
  61. "no-unused-vars": "error",
  62. "no-useless-catch": "error",
  63. "no-useless-escape": "error",
  64. "no-with": "error",
  65. "require-yield": "error",
  66. "use-isnan": "error",
  67. "valid-typeof": "error"
  68. }
  69. };