Skip to content

Commit 04f4480

Browse files
authored
ESLint - disable optional chain rule in old files (#30204)
1 parent e30bfaf commit 04f4480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/devextreme/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ export default [
509509
'@typescript-eslint/restrict-plus-operands': 'warn',
510510
'@typescript-eslint/no-use-before-define': 'warn',
511511
'@typescript-eslint/no-unused-expressions': 'warn',
512-
'@typescript-eslint/prefer-optional-chain': 'warn',
512+
'@typescript-eslint/prefer-optional-chain': 'off',
513513
'@typescript-eslint/no-this-alias': 'warn',
514514
'@typescript-eslint/no-non-null-assertion': 'warn',
515515
'@typescript-eslint/explicit-module-boundary-types': 'warn',

0 commit comments

Comments
 (0)