Add eslint config
This commit is contained in:
parent
9775930b10
commit
ecb2cadede
3 changed files with 616 additions and 0 deletions
19
.eslintrc.js
Normal file
19
.eslintrc.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
module.exports = {
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true,
|
||||
},
|
||||
"plugins": [
|
||||
"react",
|
||||
],
|
||||
"globals": {
|
||||
"graphql": false,
|
||||
},
|
||||
"parserOptions": {
|
||||
"sourceType": "module",
|
||||
"ecmaFeatures": {
|
||||
"experimentalObjectRestSpread": true,
|
||||
"jsx": true,
|
||||
},
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue