Skip to content

Commit

Permalink
chore(binding-coap): enable strict-boolean-expressions and null checks
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Sep 18, 2023
1 parent 227be53 commit 091a4fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/binding-coap/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "../../.eslintrc.js"
"extends": "../../.eslintrc.js",
"rules": {
"@typescript-eslint/strict-boolean-expressions": ["error"]
}
}
3 changes: 2 additions & 1 deletion packages/binding-coap/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": ".."
"rootDir": "..",
"strictNullChecks": true
},
"include": ["*.ts", "**/*.ts", "../src/**/*.ts"]
}

0 comments on commit 091a4fa

Please sign in to comment.