Files
Baileys/.eslintrc.json
arthur simas 2ae664c655 fix: downloadMediaMessage return type matched parameter (#757)
* fix: downloadMediaMessage return type matched parameter

* chore: keyword-spacing eslint rule warn instead of error

* chore: linting

aaaaaaaaaaaaaaaaaaaa
2024-05-15 18:34:06 +03:00

35 lines
877 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"
}
],
"keyword-spacing": [
"warn"
]
}
}