Files
wanderer/assets/.eslintrc.cjs
Dmitry Popov 4136aaad76 Initial commit
2024-09-18 01:55:30 +04:00

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',
},
};