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