2024-02-27 19:03:15 +05:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: { browser: true, es2020: true },
|
|
|
|
extends: [
|
|
|
|
'eslint:recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
2024-02-28 21:49:44 +05:00
|
|
|
'plugin:react-hooks/recommended'
|
2024-02-27 19:03:15 +05:00
|
|
|
],
|
2024-09-26 15:50:28 +03:00
|
|
|
ignorePatterns: ['dist', '.eslintrc.cjs', 'licenseChecker.cjs', "*.min.js"],
|
2024-02-27 19:03:15 +05:00
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
plugins: ['react-refresh'],
|
|
|
|
rules: {
|
|
|
|
'react-refresh/only-export-components': [
|
|
|
|
'warn',
|
2024-02-28 21:49:44 +05:00
|
|
|
{ allowConstantExport: true }
|
2024-02-27 19:03:15 +05:00
|
|
|
],
|
2024-02-28 21:49:44 +05:00
|
|
|
'@typescript-eslint/no-explicit-any': 'warn'
|
|
|
|
}
|
2024-02-27 19:03:15 +05:00
|
|
|
}
|