2
0

.eslintrc 503 B

123456789101112131415161718192021222324
  1. {
  2. "extends": [
  3. "eslint:recommended"
  4. ],
  5. "parserOptions": {
  6. "ecmaVersion": 9
  7. },
  8. "env": {
  9. "browser": true
  10. },
  11. "rules": {
  12. // allow no lines between single line members (e.g. static declarations)
  13. "lines-between-class-members": [
  14. "error",
  15. "always",
  16. {
  17. "exceptAfterSingleLine": true
  18. }
  19. ],
  20. // note you must disable the base rule as it can report incorrect errors
  21. "no-use-before-define": "off",
  22. "no-underscore-dangle": "error"
  23. }
  24. }