34 lines
508 B
JavaScript
34 lines
508 B
JavaScript
|
module.exports = {
|
||
|
"env": {
|
||
|
"browser": true,
|
||
|
"commonjs": true,
|
||
|
"es6": true,
|
||
|
"node": true
|
||
|
},
|
||
|
"extends": "eslint:recommended",
|
||
|
"globals": {
|
||
|
"Atomics": "readonly",
|
||
|
"SharedArrayBuffer": "readonly"
|
||
|
},
|
||
|
"parserOptions": {
|
||
|
"ecmaVersion": 2018
|
||
|
},
|
||
|
"rules": {
|
||
|
"indent": [
|
||
|
"error",
|
||
|
2
|
||
|
],
|
||
|
"linebreak-style": [
|
||
|
"error",
|
||
|
"unix"
|
||
|
],
|
||
|
"quotes": [
|
||
|
"error",
|
||
|
"double"
|
||
|
],
|
||
|
"semi": [
|
||
|
"error",
|
||
|
"always"
|
||
|
]
|
||
|
}
|
||
|
};
|