mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
40 lines
877 B
JSON
40 lines
877 B
JSON
{
|
|
"extends": ["@whiskeysockets", "plugin:prettier/recommended"],
|
|
"plugins": ["prettier"],
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"ignorePatterns": ["src/Tests/*"],
|
|
"rules": {
|
|
"camelcase": "off",
|
|
"indent": "off",
|
|
"@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": "always",
|
|
"named": "never",
|
|
"asyncArrow": "always"
|
|
}
|
|
],
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{
|
|
"caughtErrors": "none"
|
|
}
|
|
]
|
|
}
|
|
}
|