Skip to content

Commit 29b88b1

Browse files
authored
feat(no-unnecessary-condition): no unnecessary condition (#140)
feat: no unnecessary condition
1 parent 1b574d6 commit 29b88b1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/eslint-plugin/lib/configs/recommended.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export const recommendedConfig = tseslint.config(
4141
"react/no-unstable-nested-components": ["error", { allowAsProps: true }], // allowAsProps for Functions as child components
4242
"react/prop-types": "off",
4343
"react/no-unused-prop-types": "error",
44+
"@typescript-eslint/no-unnecessary-condition": "error",
4445
"react/jsx-no-useless-fragment": "error",
4546
"@bam.tech/no-different-displayname": "error",
4647
"@bam.tech/require-named-effect": "error",

0 commit comments

Comments
 (0)