0
0
Fork 0

Allow == when null checking (#24593)

This commit is contained in:
fusagiko / takayamaki 2023-04-20 00:46:46 +09:00 committed by GitHub
parent e98c86050a
commit c1a7e38d2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 deletions

View file

@ -71,7 +71,7 @@ module.exports = {
'comma-style': ['warn', 'last'],
'consistent-return': 'error',
'dot-notation': 'error',
eqeqeq: 'error',
eqeqeq: ['error', 'always', { 'null': 'ignore' }],
indent: ['warn', 2],
'jsx-quotes': ['error', 'prefer-single'],
'no-case-declarations': 'off',