.eslintrc.js 711 B

1234567891011121314151617181920212223242526
  1. module.exports = {
  2. parser: '@typescript-eslint/parser',
  3. parserOptions: {
  4. project: 'tsconfig.json',
  5. sourceType: 'module',
  6. },
  7. plugins: ['@typescript-eslint/eslint-plugin'],
  8. extends: [
  9. 'airbnb-typescript/base',
  10. ],
  11. root: true,
  12. env: {
  13. node: true,
  14. jest: true,
  15. },
  16. ignorePatterns: ['.eslintrc.js'],
  17. rules: {
  18. '@typescript-eslint/interface-name-prefix': 'off',
  19. '@typescript-eslint/explicit-function-return-type': 'off',
  20. '@typescript-eslint/explicit-module-boundary-types': 'off',
  21. '@typescript-eslint/no-explicit-any': 'off',
  22. '@typescript-eslint/no-throw-literal': 'off',
  23. 'import/no-extraneous-dependencies': 'off',
  24. 'import/extensions': 'off',
  25. },
  26. };