Skip to content

Commit 2e9acf8

Browse files
committed
Add no-unused-expressions
Closes #20
1 parent 66748b4 commit 2e9acf8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ module.exports = {
5454
"no-shadow": "off",
5555
"@typescript-eslint/no-shadow": ["error"],
5656

57+
// no-unused-expressions
58+
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-expressions.md
59+
"no-unused-expressions": "off",
60+
"@typescript-eslint/no-unused-expressions": ["error"],
61+
5762
'@typescript-eslint/prefer-enum-initializers': 'error',
5863

5964
// no-array-constructor - note you must disable the base rule as it can report incorrect errors

0 commit comments

Comments
 (0)