Files
Fulfillment-Frontend/.eslintrc.cjs
2024-04-17 07:32:02 +03:00

23 lines
554 B
JavaScript

module.exports = {
root: true,
env: {browser: true, es2020: true},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: [
'dist',
'.eslintrc.cjs',
'src/components/BaseTable/BaseTable.tsx'
],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{allowConstantExport: true},
],
},
}