Skip to content

Commit f30adf6

Browse files
committed
allow shortcircuit and ternary
1 parent 90ff936 commit f30adf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export default [
4848
},
4949
rules: {
5050
...reactHooks.configs.recommended.rules,
51+
'@typescript-eslint/no-unused-expressions':['error',{ 'allowShortCircuit': true , 'allowTernary': true,}],
5152
'@typescript-eslint/ban-ts-comment': 'off',
5253
'@typescript-eslint/adjacent-overload-signatures': 'error',
5354
'@typescript-eslint/array-type': 'error',

0 commit comments

Comments
 (0)