mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
32 lines
818 B
JSON
32 lines
818 B
JSON
{
|
|
"extends": "@adiwajshing",
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"ignorePatterns": ["src/Tests/*"],
|
|
"rules": {
|
|
"@typescript-eslint/no-explicit-any": [
|
|
"warn",
|
|
{
|
|
"ignoreRestArgs": true
|
|
}
|
|
],
|
|
"@typescript-eslint/no-inferrable-types": [
|
|
"warn"
|
|
],
|
|
"@typescript-eslint/no-redundant-type-constituents": [
|
|
"warn"
|
|
],
|
|
"@typescript-eslint/no-unnecessary-type-assertion": [
|
|
"warn"
|
|
],
|
|
"no-restricted-syntax": [
|
|
"warn",
|
|
{
|
|
"selector": "TSEnumDeclaration",
|
|
"message": "Don't declare enums, use literals instead"
|
|
}
|
|
]
|
|
}
|
|
} |