diff --git a/samples/react-personal-anniversary-counter/.eslintrc.js b/samples/react-personal-anniversary-counter/.eslintrc.js index 473df80cd..3ea6d48ff 100644 --- a/samples/react-personal-anniversary-counter/.eslintrc.js +++ b/samples/react-personal-anniversary-counter/.eslintrc.js @@ -85,7 +85,7 @@ module.exports = { // or else return the object to a caller (who assumes this responsibility). Unterminated // promise chains are a serious issue. Besides causing errors to be silently ignored, // they can also cause a NodeJS process to terminate unexpectedly. - '@typescript-eslint/no-floating-promises': 2, + '@typescript-eslint/no-floating-promises': 1, // RATIONALE: Catches a common coding mistake. '@typescript-eslint/no-for-in-array': 2, // STANDARDIZED BY: @typescript-eslint\eslint-plugin\dist\configs\recommended.json @@ -349,4 +349,4 @@ module.exports = { rules: {} } ] -}; \ No newline at end of file +}; diff --git a/samples/react-personal-anniversary-counter/tsconfig.json b/samples/react-personal-anniversary-counter/tsconfig.json index c4cd392ad..7314e945f 100644 --- a/samples/react-personal-anniversary-counter/tsconfig.json +++ b/samples/react-personal-anniversary-counter/tsconfig.json @@ -12,8 +12,7 @@ "skipLibCheck": true, "outDir": "lib", "inlineSources": false, - "noImplicitAny": true, - + "noImplicitAny": false, "typeRoots": [ "./node_modules/@types", "./node_modules/@microsoft" @@ -26,7 +25,9 @@ "dom", "es2015.collection", "es2015.promise" - ] + ], + "strictNullChecks": false, + "noUnusedLocals": false }, "include": [ "src/**/*.ts",