27 lines
475 B
JavaScript
27 lines
475 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
node: true
|
|
},
|
|
extends: ['plugin:react/recommended', 'standard'],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaFeatures: {
|
|
jsx: true
|
|
},
|
|
ecmaVersion: 12,
|
|
sourceType: 'module'
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: 'detect'
|
|
}
|
|
},
|
|
plugins: ['react', '@typescript-eslint'],
|
|
rules: {
|
|
'react/react-in-jsx-scope': 0,
|
|
'multiline-ternary': 0
|
|
}
|
|
}
|