.eslintrc.json 557 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "env": {
  3. "es6": true,
  4. "node": true
  5. },
  6. "extends": [
  7. "eslint:recommended",
  8. "plugin:@typescript-eslint/eslint-recommended"
  9. ],
  10. "globals": {
  11. "Atomics": "readonly",
  12. "SharedArrayBuffer": "readonly"
  13. },
  14. "parser": "@typescript-eslint/parser",
  15. "parserOptions": {
  16. "ecmaVersion": 2020,
  17. "sourceType": "module"
  18. },
  19. "plugins": ["@typescript-eslint"],
  20. "rules": {
  21. "indent": ["error", 2],
  22. "quotes": ["error", "double"],
  23. "semi": ["error", "always"],
  24. "comma-dangle": ["error", "never"],
  25. "linebreak-style": "off",
  26. "no-console": "off"
  27. }
  28. }