2024-02-21 18:01:41 -06:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: { browser: true, es2020: true },
|
|
|
|
extends: [
|
|
|
|
'eslint:recommended',
|
|
|
|
'airbnb',
|
|
|
|
'plugin:react/recommended',
|
|
|
|
'plugin:react/jsx-runtime',
|
|
|
|
'plugin:react-hooks/recommended',
|
|
|
|
],
|
2024-02-23 13:48:43 -06:00
|
|
|
ignorePatterns: ['dist', '.eslintrc.cjs', 'vite.config.js'],
|
2024-02-21 18:01:41 -06:00
|
|
|
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
|
|
|
|
settings: { react: { version: '18.2' } },
|
2024-03-07 21:27:37 -06:00
|
|
|
plugins: ['react-refresh', '@stylistic'],
|
2024-02-21 18:01:41 -06:00
|
|
|
rules: {
|
|
|
|
'react/jsx-no-target-blank': 'off',
|
|
|
|
'react-refresh/only-export-components': [
|
|
|
|
'warn',
|
|
|
|
{ allowConstantExport: true },
|
|
|
|
],
|
2024-03-07 21:27:37 -06:00
|
|
|
'no-console': 0
|
2024-02-21 18:01:41 -06:00
|
|
|
},
|
|
|
|
}
|