.eslintrc.yaml 942 B

123456789101112131415161718192021222324252627282930313233
  1. root: true
  2. parser: '@typescript-eslint/parser'
  3. plugins:
  4. - '@typescript-eslint'
  5. extends:
  6. - eslint:recommended
  7. # - plugin:react/recommended
  8. - plugin:@typescript-eslint/recommended
  9. - prettier
  10. - prettier/@typescript-eslint
  11. env:
  12. node: true
  13. browser: true
  14. es6: true
  15. jest: true
  16. rules:
  17. '@typescript-eslint/explicit-function-return-type': off
  18. '@typescript-eslint/explicit-member-accessibility': off
  19. '@typescript-eslint/indent': off
  20. '@typescript-eslint/member-delimiter-style': off
  21. '@typescript-eslint/no-explicit-any': off
  22. '@typescript-eslint/no-empty-function': off
  23. '@typescript-eslint/no-non-null-assertion': off
  24. '@typescript-eslint/no-var-requires': off
  25. '@typescript-eslint/explicit-module-boundary-types': off
  26. '@typescript-eslint/ban-ts-comment': off
  27. '@typescript-eslint/ban-types':
  28. - 2
  29. - types:
  30. Function: false
  31. '@typescript-eslint/no-unused-vars':
  32. - 2
  33. - argsIgnorePattern: '^_'