mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
21 lines
453 B
JavaScript
21 lines
453 B
JavaScript
/** @type {import('eslint').Linter.Config} */
|
|
module.exports = {
|
|
extends: [
|
|
'./base.js',
|
|
'plugin:react/recommended',
|
|
'plugin:react/jsx-runtime',
|
|
'plugin:react-hooks/recommended',
|
|
],
|
|
plugins: ['react-refresh'],
|
|
env: {
|
|
browser: true,
|
|
},
|
|
settings: {
|
|
react: { version: 'detect' },
|
|
},
|
|
rules: {
|
|
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
|
|
'react/prop-types': 'off',
|
|
},
|
|
};
|