iwa-inspector/.eslintrc.cjs
2023-12-14 22:13:56 -05:00

19 lines
538 B
JavaScript

/* eslint-env commonjs */
module.exports = {
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
plugins: ['react-refresh'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'react-hooks/exhaustive-deps': 'off',
'react-refresh/only-export-components': 'warn',
'no-regex-spaces': 'off',
},
}