56 lines
1.1 KiB
JSON
56 lines
1.1 KiB
JSON
|
{
|
||
|
"extends": [
|
||
|
"eslint:recommended"
|
||
|
],
|
||
|
"env": {
|
||
|
"es6": true
|
||
|
},
|
||
|
"globals": {
|
||
|
"Atomics": "readonly",
|
||
|
"SharedArrayBuffer": "readonly"
|
||
|
},
|
||
|
"parserOptions": {
|
||
|
"ecmaVersion": 2018,
|
||
|
"sourceType": "script"
|
||
|
},
|
||
|
"ignorePatterns": [
|
||
|
"node_modules/",
|
||
|
"dist/"
|
||
|
],
|
||
|
"rules": {
|
||
|
"indent": [
|
||
|
"error",
|
||
|
4
|
||
|
],
|
||
|
"linebreak-style": [
|
||
|
"error",
|
||
|
"unix"
|
||
|
],
|
||
|
"quotes": [
|
||
|
"error",
|
||
|
"single"
|
||
|
],
|
||
|
"semi": [
|
||
|
"error",
|
||
|
"always"
|
||
|
],
|
||
|
"no-irregular-whitespace": [
|
||
|
"error",
|
||
|
{
|
||
|
"skipStrings": true,
|
||
|
"skipTemplates": true
|
||
|
}
|
||
|
],
|
||
|
"comma-dangle": [
|
||
|
"error",
|
||
|
{
|
||
|
"arrays": "always-multiline",
|
||
|
"objects": "always-multiline",
|
||
|
"imports": "always-multiline",
|
||
|
"exports": "always-multiline",
|
||
|
"functions": "never"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|