.eslintrc.cjs 563 B

1234567891011121314151617181920212223
  1. module.exports = {
  2. root: true,
  3. env: { browser: true, es2020: true },
  4. extends: [
  5. 'eslint:recommended',
  6. 'plugin:@typescript-eslint/recommended',
  7. 'plugin:react-hooks/recommended',
  8. ],
  9. ignorePatterns: ['dist', '.eslintrc.cjs'],
  10. parser: '@typescript-eslint/parser',
  11. plugins: ['react-refresh'],
  12. rules: {
  13. indent: 0,
  14. quotes: 0,
  15. semi: 0,
  16. 'no-case-declarations': 'off',
  17. "@typescript-eslint/no-explicit-any": "off",
  18. 'react-refresh/only-export-components': [
  19. 'warn',
  20. { allowConstantExport: true },
  21. ],
  22. },
  23. }