update eslint config (#53637)
## Fixing a bug - I checked the eslint config and found that override property is not supposed to be inside another override property. - I couldn't checked the entire file as it was a big config file, but I guess it was supposed to be a part of global overrides array of eslint. Co-authored-by: Balázs Orbán <18369201+balazsorban44@users.noreply.github.com>
This commit is contained in:
parent
498692b698
commit
78b04980be
1 changed files with 8 additions and 10 deletions
|
@ -112,16 +112,14 @@
|
|||
"no-useless-constructor": "off",
|
||||
"@typescript-eslint/no-useless-constructor": "warn",
|
||||
"@typescript-eslint/prefer-literal-enum-member": "error"
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["packages/**"],
|
||||
"rules": {
|
||||
"jsdoc/no-types": "error",
|
||||
"jsdoc/no-undefined-types": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["packages/**/*.tsx?"],
|
||||
"rules": {
|
||||
"jsdoc/no-types": "error",
|
||||
"jsdoc/no-undefined-types": "error"
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
|
|
Loading…
Reference in a new issue