diff --git a/packages/binding-coap/.eslintrc.json b/packages/binding-coap/.eslintrc.json index c4237119e..70b9f134b 100644 --- a/packages/binding-coap/.eslintrc.json +++ b/packages/binding-coap/.eslintrc.json @@ -1,3 +1,6 @@ { - "extends": "../../.eslintrc.js" + "extends": "../../.eslintrc.js", + "rules": { + "@typescript-eslint/strict-boolean-expressions": ["error"] + } } diff --git a/packages/binding-coap/test/tsconfig.json b/packages/binding-coap/test/tsconfig.json index 786b1b616..c2cefa10e 100644 --- a/packages/binding-coap/test/tsconfig.json +++ b/packages/binding-coap/test/tsconfig.json @@ -1,7 +1,8 @@ { "extends": "../tsconfig.json", "compilerOptions": { - "rootDir": ".." + "rootDir": "..", + "strictNullChecks": true }, "include": ["*.ts", "**/*.ts", "../src/**/*.ts"] }