mirror of
https://github.com/PretendoNetwork/SSSL.git
synced 2026-04-25 16:32:50 -05:00
This new default mode can be configured using environment variables or a .env file. The interactive mode can still be enabled by using the -i or --interactive flag.
43 lines
635 B
JSON
43 lines
635 B
JSON
{
|
|
"env": {
|
|
"node": true,
|
|
"commonjs": true,
|
|
"es6": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"rules": {
|
|
"require-atomic-updates": "warn",
|
|
"no-case-declarations": "off",
|
|
"no-empty": "off",
|
|
"no-console": "off",
|
|
"linebreak-style": "off",
|
|
"no-global-assign": "off",
|
|
"prefer-const": "error",
|
|
"no-var": "error",
|
|
"no-unused-vars": "error",
|
|
"no-extra-semi": "error",
|
|
"one-var": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"indent": [
|
|
"error",
|
|
"tab",
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
]
|
|
}
|
|
}
|