.eslintrc.js 665 B

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