Skip to content

Commit

Permalink
fix: deps, enable no-implicit-coercion eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Apr 2, 2022
1 parent 2feb187 commit 6bf7d23
Show file tree
Hide file tree
Showing 3 changed files with 230 additions and 236 deletions.
6 changes: 6 additions & 0 deletions cfg/eslint-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,12 @@ module.exports = {
'no-ex-assign': 2,
'no-extra-boolean-cast': 2,
'no-extra-semi': 'off',
'no-implicit-coercion': [
2,
{
allow: ['!!'],
},
],
'no-fallthrough': 2,
'no-func-assign': 2,
'no-global-assign': 2,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-jsdoc": "^38.0.4",
"eslint-plugin-unicorn": "^41.0.0",
"eslint-plugin-unicorn": "^42.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"eslint-plugin-vue": "^8.0.1",
"execa": "^5.0.0",
Expand Down
Loading

0 comments on commit 6bf7d23

Please sign in to comment.