Wroclaw
7225739527
note that I've marked Promises awaiting as a warn, because I don't want to be bothered with it for now. I also edited all files to accomodate with the new rules. I should also think find a way to type-safely import Commands directory, another time
15 lines
473 B
JSON
15 lines
473 B
JSON
{
|
|
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended-type-checked"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/no-floating-promises": "warn",
|
|
"@typescript-eslint/no-unsafe-declaration-merging": "warn",
|
|
"@typescript-eslint/semi": ["error", "always"],
|
|
"semi": "off",
|
|
"eol-last": ["error", "always"],
|
|
"eqeqeq": ["error", "always"]
|
|
}
|
|
}
|