Tools: Resolves #9265: Add no-constant-binary-expression to eslint rules (#9319)

This commit is contained in:
pedr
2023-11-15 20:18:31 +00:00
committed by GitHub
parent 1a78ff4398
commit 3b51b4fd72
+2
View File
@@ -157,6 +157,8 @@ module.exports = {
// In user-facing text, it should be "notebook".
'id-denylist': ['error', 'err', 'notebook', 'notebooks'],
'prefer-arrow-callback': ['error'],
'no-constant-binary-expression': ['error'],
},
'plugins': [
'react',