.eslintrc.cjs 491 B

12345678910111213141516
  1. module.exports = {
  2. env: { browser: true, es2020: true },
  3. extends: [
  4. 'eslint:recommended',
  5. 'plugin:@typescript-eslint/recommended',
  6. 'plugin:react-hooks/recommended',
  7. ],
  8. parser: '@typescript-eslint/parser',
  9. parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
  10. plugins: ['react-refresh'],
  11. rules: {
  12. 'react-refresh/only-export-components': 'warn',
  13. '@typescript-eslint/ban-ts-comment':"warn",
  14. '@typescript-eslint/no-explicit-any': 'off'
  15. },
  16. }