fix: eslint config and errors

This commit is contained in:
sriram veeraghanta 2024-06-13 21:17:06 +05:30
parent a72d095e60
commit b8ee986636
72 changed files with 153 additions and 181 deletions

View file

@ -16,6 +16,7 @@ module.exports = {
},
},
rules: {
"no-useless-escape": "off",
"prefer-const": "error",
"no-irregular-whitespace": "error",
"no-trailing-spaces": "error",
@ -36,6 +37,7 @@ module.exports = {
{
selector: ["function", "variable"],
format: ["camelCase", "snake_case", "UPPER_CASE", "PascalCase"],
leadingUnderscore: "allow",
},
],
},