1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00

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

This commit is contained in:
pedr 2023-11-15 17:18:31 -03:00 committed by GitHub
parent 1a78ff4398
commit 3b51b4fd72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,6 +157,8 @@ module.exports = {
// In user-facing text, it should be "notebook". // In user-facing text, it should be "notebook".
'id-denylist': ['error', 'err', 'notebook', 'notebooks'], 'id-denylist': ['error', 'err', 'notebook', 'notebooks'],
'prefer-arrow-callback': ['error'], 'prefer-arrow-callback': ['error'],
'no-constant-binary-expression': ['error'],
}, },
'plugins': [ 'plugins': [
'react', 'react',