Unverified Commit 78b04980 authored by Arpit Patidar's avatar Arpit Patidar Committed by GitHub

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: 's avatarBalázs Orbán <18369201+balazsorban44@users.noreply.github.com>
parent 498692b6
...@@ -112,16 +112,14 @@ ...@@ -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": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment