1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-11-23 09:50:17 +01:00
haste-server/.eslintrc.json
2020-08-28 04:39:03 +02:00

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"
}
}