Skip to content

Commit

Permalink
Enable strict boolean expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1t3cAt1k committed Jul 24, 2019
1 parent 764218c commit 820b4eb
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 66 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ module.exports = {
'@typescript-eslint/require-array-sort-compare': 'error',
'@typescript-eslint/restrict-plus-operands': 'error',
'@typescript-eslint/unified-signatures': 'error',
'@typescript-eslint/strict-boolean-expressions': 'error',
'import/newline-after-import': ['error', { count: 1 }],
'lines-between-class-members': [
'error',
Expand Down
163 changes: 101 additions & 62 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"eslint": "*"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-react": "^7.13.0"
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-react": "^7.14.3"
}
}

0 comments on commit 820b4eb

Please sign in to comment.