A fork of Gitea (see branch `mj`) adding Majority Judgment Polls 𐄷 over Issues and Merge Requests. https://git.mieuxvoter.fr
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.

56 lines
1.1 KiB

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