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:
Arpit Patidar 2023-08-07 15:11:14 +05:30 committed by GitHub
parent 498692b698
commit 78b04980be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,16 +112,14 @@
"no-useless-constructor": "off", "no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "warn", "@typescript-eslint/no-useless-constructor": "warn",
"@typescript-eslint/prefer-literal-enum-member": "error" "@typescript-eslint/prefer-literal-enum-member": "error"
}, }
"overrides": [ },
{ {
"files": ["packages/**"], "files": ["packages/**/*.tsx?"],
"rules": { "rules": {
"jsdoc/no-types": "error", "jsdoc/no-types": "error",
"jsdoc/no-undefined-types": "error" "jsdoc/no-undefined-types": "error"
} }
}
]
}, },
{ {
"files": [ "files": [