Fixing eslint

This commit is contained in:
Nishant Arora
2021-10-21 23:48:35 -06:00
parent 93536976d0
commit b785658db1

View File

@@ -16,16 +16,17 @@ module.exports = {
plugins: ["@typescript-eslint"], plugins: ["@typescript-eslint"],
rules: { rules: {
// TODO: Remove warn rules when not needed anymore // TODO: Remove warn rules when not needed anymore
"no-self-assign": "off",
"semi": "warn",
"@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-explicit-any": "off",
"indent": ["warn", 4, { "SwitchCase": 1 }],
"newline-before-return": "error",
"no-multiple-empty-lines": ["error", { max: 2, maxEOF: 0 }],
"no-self-assign": "off",
"no-trailing-spaces": "warn", "no-trailing-spaces": "warn",
"object-curly-spacing": ["warn", "always"],
"prefer-template": "warn", "prefer-template": "warn",
"quotes": ["warn", "double", { "avoidEscape": true, "allowTemplateLiterals": true }], "quotes": ["warn", "double", { "avoidEscape": true, "allowTemplateLiterals": true }],
"no-multiple-empty-lines": ["error", { max: 2, maxEOF: 0 }],
"indent": ["warn", 4, { "SwitchCase": 1 }],
"object-curly-spacing": ["warn", "always"],
"require-await": "warn", "require-await": "warn",
"semi": "warn",
}, },
}; };