mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-09 00:28:15 +08:00
33 lines
558 B
JavaScript
33 lines
558 B
JavaScript
|
module.exports = {
|
||
|
env: {
|
||
|
browser: true,
|
||
|
es2020: true
|
||
|
},
|
||
|
extends: [
|
||
|
'eslint:recommended',
|
||
|
'plugin:react/recommended',
|
||
|
'plugin:prettier/recommended',
|
||
|
'plugin:jest/recommended'
|
||
|
],
|
||
|
parser: 'babel-eslint',
|
||
|
parserOptions: {
|
||
|
ecmaFeatures: {
|
||
|
jsx: true
|
||
|
},
|
||
|
ecmaVersion: 11,
|
||
|
sourceType: 'module'
|
||
|
},
|
||
|
plugins: ['react', 'jest'],
|
||
|
rules: {
|
||
|
'react/prop-types': 0
|
||
|
},
|
||
|
overrides: [
|
||
|
{
|
||
|
files: ['scripts/*', '.eslintrc.js', 'babel.config.js'],
|
||
|
env: {
|
||
|
node: true
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
};
|