34 lines
475 B
JavaScript
34 lines
475 B
JavaScript
|
module.exports = {
|
||
|
env: {
|
||
|
browser: true,
|
||
|
es2021: true
|
||
|
},
|
||
|
extends: [
|
||
|
'standard',
|
||
|
'plugin:react/recommended',
|
||
|
'plugin:react/jsx-runtime'
|
||
|
],
|
||
|
overrides: [
|
||
|
{
|
||
|
env: {
|
||
|
node: true
|
||
|
},
|
||
|
files: [
|
||
|
'.eslintrc.{js,cjs}'
|
||
|
],
|
||
|
parserOptions: {
|
||
|
sourceType: 'script'
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
parserOptions: {
|
||
|
ecmaVersion: 'latest',
|
||
|
sourceType: 'module'
|
||
|
},
|
||
|
plugins: [
|
||
|
'react'
|
||
|
],
|
||
|
rules: {
|
||
|
}
|
||
|
}
|