mirror of
https://github.com/hubHarmony/servii-frontend.git
synced 2024-11-17 21:40:30 +00:00
f270e3220e
[+] TypeScript support [-] Shouldn't pass the tests
26 lines
648 B
JavaScript
26 lines
648 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: { browser: true, es2020: true },
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:react/recommended',
|
|
'plugin:react/jsx-runtime',
|
|
'plugin:react-hooks/recommended',
|
|
"plugin:@typescript-eslint/recommended",
|
|
],
|
|
ignorePatterns: ['dist', '.eslintrc.cjs'],
|
|
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
|
|
settings: { react: { version: '18.2' } },
|
|
plugins: [
|
|
'react-refresh',
|
|
'@typescript-eslint',
|
|
],
|
|
rules: {
|
|
'react/jsx-no-target-blank': 'off',
|
|
'react-refresh/only-export-components': [
|
|
'warn',
|
|
{ allowConstantExport: true },
|
|
],
|
|
},
|
|
}
|