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.

53 lines
1.0 KiB

  1. root: true
  2. extends:
  3. - eslint-config-airbnb-base
  4. - eslint:recommended
  5. parserOptions:
  6. ecmaVersion: 2020
  7. env:
  8. browser: true
  9. es6: true
  10. jquery: true
  11. node: true
  12. globals:
  13. __webpack_public_path__: true
  14. Clipboard: false
  15. CodeMirror: false
  16. Dropzone: false
  17. emojify: false
  18. hljs: false
  19. SimpleMDE: false
  20. u2fApi: false
  21. Vue: false
  22. rules:
  23. arrow-body-style: [0]
  24. camelcase: [0]
  25. comma-dangle: [2, only-multiline]
  26. consistent-return: [0]
  27. default-case: [0]
  28. func-names: [0]
  29. import/extensions: [0]
  30. max-len: [0]
  31. newline-per-chained-call: [0]
  32. no-alert: [0]
  33. no-continue: [0]
  34. no-mixed-operators: [0]
  35. no-multi-assign: [0]
  36. no-new: [0]
  37. no-param-reassign: [0]
  38. no-plusplus: [0]
  39. no-restricted-syntax: [0]
  40. no-shadow: [0]
  41. no-unused-vars: [2, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, ignoreRestSiblings: true}]
  42. no-use-before-define: [0]
  43. no-var: [2]
  44. one-var-declaration-per-line: [0]
  45. one-var: [0]
  46. prefer-const: [2, {destructuring: all}]
  47. prefer-destructuring: [0]
  48. radix: [2, as-needed]