.eslintrc.json 857 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "env": {
  3. "es6": true,
  4. "node": true
  5. },
  6. "extends": [
  7. "eslint:recommended",
  8. "plugin:@typescript-eslint/eslint-recommended",
  9. "plugin:@typescript-eslint/recommended"
  10. ],
  11. "globals": {
  12. "Atomics": "readonly",
  13. "SharedArrayBuffer": "readonly"
  14. },
  15. "parser": "@typescript-eslint/parser",
  16. "parserOptions": {
  17. "ecmaVersion": 11,
  18. "sourceType": "module"
  19. },
  20. "plugins": [
  21. "@typescript-eslint"
  22. ],
  23. "rules": {
  24. "indent": [
  25. "error",
  26. 4
  27. ],
  28. "linebreak-style": [
  29. "error",
  30. "windows"
  31. ],
  32. "quotes": [
  33. "error",
  34. "double"
  35. ],
  36. "semi": [
  37. "error",
  38. "always"
  39. ]
  40. }
  41. }