mirror of
https://github.com/SunRed/haste-server.git
synced 2024-11-27 03:10:18 +01:00
23 lines
434 B
JSON
23 lines
434 B
JSON
{
|
|
"env": {
|
|
"es2020": true,
|
|
"node": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"parserOptions": {
|
|
"ecmaVersion": 11
|
|
},
|
|
"rules": {
|
|
"indent": [ "error", "tab" ],
|
|
"linebreak-style": [ "error", "unix" ],
|
|
"quotes": [ "error", "single" ],
|
|
"semi": [ "error", "always" ],
|
|
"no-console": "warn",
|
|
"no-unused-vars": "warn",
|
|
"max-len": ["warn", 150],
|
|
"require-await": "warn"
|
|
},
|
|
"globals": {
|
|
"winston": "writable"
|
|
}
|
|
}
|