We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cca5a3 commit dff1a30Copy full SHA for dff1a30
eslint/rules/base.cjs
@@ -78,5 +78,7 @@ module.exports = defineConfig({
78
varsIgnorePattern: '^_',
79
},
80
],
81
+ // Disallow expressions where the operation doesn't affect the value
82
+ 'no-constant-binary-expression': 'error',
83
84
});
0 commit comments