You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB

4 years ago
  1. {
  2. "env": {
  3. "browser": true,
  4. "node": true,
  5. "commonjs": true,
  6. "es6": true
  7. },
  8. "extends": "eslint:recommended",
  9. "rules": {
  10. "strict": 2,
  11. "indent": 0,
  12. "linebreak-style": 0,
  13. "quotes": 0,
  14. "semi": 0,
  15. "no-cond-assign": 1,
  16. "no-constant-condition": 1,
  17. "no-duplicate-case": 1,
  18. "no-empty": 1,
  19. "no-ex-assign": 1,
  20. "no-extra-boolean-cast": 1,
  21. "no-extra-semi": 1,
  22. "no-fallthrough": 1,
  23. "no-func-assign": 1,
  24. "no-global-assign": 1,
  25. "no-implicit-globals": 2,
  26. "no-inner-declarations": ["error", "functions"],
  27. "no-irregular-whitespace": 2,
  28. "no-loop-func": 1,
  29. "no-multi-str": 1,
  30. "no-mixed-spaces-and-tabs": 1,
  31. "no-proto": 1,
  32. "no-sequences": 1,
  33. "no-throw-literal": 1,
  34. "no-unmodified-loop-condition": 1,
  35. "no-useless-call": 1,
  36. "no-void": 1,
  37. "no-with": 2,
  38. "wrap-iife": 1,
  39. "no-redeclare": 1,
  40. "no-unused-vars": ["error", { "vars": "all", "args": "none" }],
  41. "no-sparse-arrays": 1
  42. }
  43. }