sigit.io/.eslintrc.cjs

20 lines
504 B
JavaScript
Raw Permalink Normal View History

2024-02-27 14:03:15 +00:00
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended'
2024-02-27 14:03:15 +00:00
],
ignorePatterns: ['dist', '.eslintrc.cjs', 'licenseChecker.cjs'],
2024-02-27 14:03:15 +00:00
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true }
2024-02-27 14:03:15 +00:00
],
'@typescript-eslint/no-explicit-any': 'warn'
}
2024-02-27 14:03:15 +00:00
}