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
541 B
28 lines
541 B
2 years ago
|
{
|
||
|
"parser": "babel-eslint",
|
||
|
"extends": "eslint:recommended",
|
||
|
"env": {
|
||
|
"commonjs": true,
|
||
|
"es6": true,
|
||
|
"node": true,
|
||
|
"browser": false
|
||
|
},
|
||
|
"parserOptions": {
|
||
|
"ecmaFeatures": {
|
||
|
"experimentalObjectRestSpread": true,
|
||
|
"jsx": false
|
||
|
},
|
||
|
"sourceType": "module"
|
||
|
},
|
||
|
"globals": {
|
||
|
"strapi": true
|
||
|
},
|
||
|
"rules": {
|
||
|
"indent": ["error", 2, { "SwitchCase": 1 }],
|
||
|
"linebreak-style": ["error", "unix"],
|
||
|
"no-console": 0,
|
||
|
"quotes": ["error", "single"],
|
||
|
"semi": ["error", "always"]
|
||
|
}
|
||
|
}
|