.eslintrc.json 681 B

1234567891011121314151617181920212223242526
  1. {
  2. "extends": [
  3. "eslint:recommended",
  4. "plugin:@typescript-eslint/eslint-recommended",
  5. "plugin:@typescript-eslint/recommended"
  6. ],
  7. "parser": "@typescript-eslint/parser",
  8. "parserOptions": {
  9. "ecmaVersion": 2020,
  10. "sourceType": "module"
  11. },
  12. "plugins": ["@typescript-eslint"],
  13. "rules": {
  14. "no-unexpected-multiline": "off",
  15. "@typescript-eslint/indent": "off",
  16. "@typescript-eslint/explicit-function-return-type": "off",
  17. "@typescript-eslint/no-non-null-assertion": "off",
  18. "@typescript-eslint/no-use-before-define": "off",
  19. "@typescript-eslint/no-unused-vars": [
  20. "warn",
  21. {
  22. "argsIgnorePattern": "^_"
  23. }
  24. ]
  25. }
  26. }