Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Commit a89fb2f

Browse files
committed
Allow constant conditions in expressions
1 parent a9b7599 commit a89fb2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"rules": {
1616
"max-len": ["error", { "code": 150, "ignoreComments": true, "ignoreStrings": true, "ignoreTemplateLiterals": true }],
1717
"@typescript-eslint/explicit-module-boundary-types": "off",
18-
"@typescript-eslint/ban-ts-comment": "off"
18+
"@typescript-eslint/ban-ts-comment": "off",
19+
"no-constant-condition": "warn"
1920
}
2021
}

0 commit comments

Comments
 (0)