fix: eqeqeq rule deprecated option allow-null (#61)

* fix: `eqeqeq` rule deprecated option allow-null

https://eslint.org/docs/rules/eqeqeq#allow-null

* Update packages/basic/index.js

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
nirtamir2 2021-09-08 15:09:23 +03:00 committed by GitHub
parent e3e97d18d5
commit 92c3e62135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,7 @@ module.exports = {
'block-scoped-var': 'error',
'consistent-return': 'off',
'complexity': ['off', 11],
'eqeqeq': ['error', 'allow-null'],
'eqeqeq': ['error', 'smart'],
'no-alert': 'warn',
'no-case-declarations': 'error',
'no-multi-spaces': 'error',