mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-08-19 03:40:09 +02:00
16 lines
415 B
JavaScript
16 lines
415 B
JavaScript
module.exports = {
|
|
env: { browser: true, es2020: true },
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:react/recommended',
|
|
'plugin:react/jsx-runtime',
|
|
'plugin:react-hooks/recommended',
|
|
],
|
|
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
|
|
settings: { react: { version: '18.2' } },
|
|
plugins: ['react-refresh'],
|
|
rules: {
|
|
'react-refresh/only-export-components': 'warn',
|
|
},
|
|
}
|