You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
460 B
28 lines
460 B
5 years ago
|
module.exports = {
|
||
|
env: {
|
||
|
"browser": true,
|
||
|
"es6": true,
|
||
|
"node": true
|
||
|
},
|
||
|
extends: [
|
||
|
"plugin:react/recommended",
|
||
|
"eslint:recommended",
|
||
|
"plugin:prettier/recommended"
|
||
|
],
|
||
|
parserOptions: {
|
||
|
ecmaFeatures: {
|
||
|
jsx: true
|
||
|
},
|
||
|
ecmaVersion: 2018,
|
||
|
sourceType: 'module'
|
||
|
},
|
||
|
plugins: [
|
||
|
"react"
|
||
|
],
|
||
|
rules: {
|
||
|
"react/prop-types": 1,
|
||
|
"no-unused-vars": 1,
|
||
|
"react/display-name": 1,
|
||
|
"no-console": 1
|
||
|
}
|
||
|
}
|