35 lines
645 B
JavaScript
35 lines
645 B
JavaScript
|
module.exports = {
|
||
|
"env": {
|
||
|
"browser": true,
|
||
|
"es6": true,
|
||
|
"node": true
|
||
|
},
|
||
|
"extends": "eslint:recommended",
|
||
|
"globals": {
|
||
|
"Atomics": "readonly",
|
||
|
"SharedArrayBuffer": "readonly"
|
||
|
},
|
||
|
"parserOptions": {
|
||
|
"ecmaVersion": 2017,
|
||
|
"sourceType": "module"
|
||
|
},
|
||
|
"rules": {
|
||
|
"no-console": [
|
||
|
"warn"
|
||
|
],
|
||
|
"indent": [
|
||
|
"error",
|
||
|
4,
|
||
|
{"SwitchCase": 1}
|
||
|
],
|
||
|
"quotes": [
|
||
|
"error",
|
||
|
"single"
|
||
|
],
|
||
|
"semi": [
|
||
|
"error",
|
||
|
"always"
|
||
|
]
|
||
|
}
|
||
|
}
|