mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-09 09:15:42 +00:00
22 lines
674 B
JavaScript
22 lines
674 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: { browser: true, es2020: true, jest: true },
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:react/recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
'prettier',
|
|
'plugin:prettier/recommended',
|
|
'plugin:react-hooks/recommended',
|
|
],
|
|
ignorePatterns: ['dist', '.eslintrc.cjs'],
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['@typescript-eslint', 'react-refresh'],
|
|
rules: {
|
|
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
|
|
'react/react-in-jsx-scope': 'off',
|
|
'@typescript-eslint/ban-ts-comment': 'off',
|
|
},
|
|
};
|