Skip to content

Commit

Permalink
chore: enable eslint/strict-boolean-expressions and strictNullChecks
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeintner committed Sep 8, 2023
1 parent c8177c2 commit ed9c7a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module.exports = {
"@typescript-eslint/no-unused-vars": "off", // or "@typescript-eslint/no-unused-vars": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"@typescript-eslint/strict-boolean-expressions": ["error"],
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"module": "commonjs",
"outDir": "dist",
"strict": true,
"strictNullChecks": true,
"composite": true,
"incremental": true,
"sourceMap": true,
Expand Down

0 comments on commit ed9c7a2

Please sign in to comment.