1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-11-01 01:30:21 +01:00
haste-server/.eslintrc.json

24 lines
434 B
JSON
Raw Permalink Normal View History

{
2020-08-28 04:39:03 +02:00
"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"
}
}