mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
32 lines
732 B
JSON
32 lines
732 B
JSON
{
|
|
"extends": "@whiskeysockets",
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"ignorePatterns": ["src/Tests/*"],
|
|
"rules": {
|
|
"indent": ["error", "tab", { "SwitchCase": 1 }],
|
|
"@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": "off",
|
|
"keyword-spacing": "off",
|
|
"implicit-arrow-linebreak": ["off"],
|
|
"space-before-function-paren": [
|
|
"error",
|
|
{
|
|
"anonymous": "never",
|
|
"named": "never",
|
|
"asyncArrow": "always"
|
|
}
|
|
]
|
|
}
|
|
}
|