.eslintrc.js 798 B

1234567891011121314151617181920212223242526
  1. module.exports = {
  2. parser: '@typescript-eslint/parser',
  3. plugins: ['@typescript-eslint/eslint-plugin'],
  4. extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
  5. root: true,
  6. env: {
  7. node: true,
  8. jest: true,
  9. },
  10. ignorePatterns: ['.eslintrc.js'],
  11. rules: {
  12. '@typescript-eslint/interface-name-prefix': 'off',
  13. '@typescript-eslint/explicit-function-return-type': 'off',
  14. '@typescript-eslint/explicit-module-boundary-types': 'off',
  15. '@typescript-eslint/no-explicit-any': 'off',
  16. '@typescript-eslint/ban-types': [
  17. 'error',
  18. {
  19. extendDefaults: true,
  20. types: {
  21. '{}': false,
  22. },
  23. },
  24. ],
  25. },
  26. };