2
0

.eslintrc 484 B

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