mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 07:39:29 -07:00
92 lines
1.2 KiB
Plaintext
92 lines
1.2 KiB
Plaintext
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"airbnb-base"
|
|
],
|
|
"globals": {
|
|
"TravelCities": "readonly",
|
|
"RegionalCities": "readonly",
|
|
"StationInfo": "readonly",
|
|
"SunCalc": "readonly",
|
|
"NoSleep": "readonly",
|
|
"OVERRIDES": "readonly"
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [],
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
"tab",
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"no-tabs": 0,
|
|
"no-console": 0,
|
|
"max-len": 0,
|
|
"no-use-before-define": [
|
|
"error",
|
|
{
|
|
"variables": false
|
|
}
|
|
],
|
|
"no-param-reassign": [
|
|
"error",
|
|
{
|
|
"props": false
|
|
}
|
|
],
|
|
"no-mixed-operators": [
|
|
"error",
|
|
{
|
|
"groups": [
|
|
[
|
|
"&",
|
|
"|",
|
|
"^",
|
|
"~",
|
|
"<<",
|
|
">>",
|
|
">>>"
|
|
],
|
|
[
|
|
"==",
|
|
"!=",
|
|
"===",
|
|
"!==",
|
|
">",
|
|
">=",
|
|
"<",
|
|
"<="
|
|
],
|
|
[
|
|
"&&",
|
|
"||"
|
|
],
|
|
[
|
|
"in",
|
|
"instanceof"
|
|
]
|
|
],
|
|
"allowSamePrecedence": true
|
|
}
|
|
],
|
|
"import/extensions": [
|
|
"error",
|
|
{
|
|
"mjs": "always",
|
|
"json": "always"
|
|
}
|
|
]
|
|
},
|
|
"ignorePatterns": [
|
|
"*.min.js"
|
|
]
|
|
} |