style: fixed and relaxed style lint

This commit is contained in:
Edgard
2023-04-21 17:12:21 -03:00
parent 6f007a63aa
commit 26d5dddf5d
3 changed files with 25 additions and 8 deletions

View File

@@ -1,3 +1,18 @@
{
"extends": "@adiwajshing"
"extends": "@adiwajshing",
"rules": {
"@typescript-eslint/no-explicit-any": [
"warn",
{
"ignoreRestArgs": true
}
],
"no-restricted-syntax": [
"warn",
{
"selector": "TSEnumDeclaration",
"message": "Don't declare enums, use literals instead"
}
]
}
}