😒 - [react-personal-anniversary-counter] Don't tell me how to code

This commit is contained in:
Dan Toft 2023-12-09 16:32:58 +01:00
parent dc65175741
commit aa06723974
2 changed files with 6 additions and 5 deletions

View File

@ -85,7 +85,7 @@ module.exports = {
// or else return the object to a caller (who assumes this responsibility). Unterminated // 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, // promise chains are a serious issue. Besides causing errors to be silently ignored,
// they can also cause a NodeJS process to terminate unexpectedly. // 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. // RATIONALE: Catches a common coding mistake.
'@typescript-eslint/no-for-in-array': 2, '@typescript-eslint/no-for-in-array': 2,
// STANDARDIZED BY: @typescript-eslint\eslint-plugin\dist\configs\recommended.json // STANDARDIZED BY: @typescript-eslint\eslint-plugin\dist\configs\recommended.json

View File

@ -12,8 +12,7 @@
"skipLibCheck": true, "skipLibCheck": true,
"outDir": "lib", "outDir": "lib",
"inlineSources": false, "inlineSources": false,
"noImplicitAny": true, "noImplicitAny": false,
"typeRoots": [ "typeRoots": [
"./node_modules/@types", "./node_modules/@types",
"./node_modules/@microsoft" "./node_modules/@microsoft"
@ -26,7 +25,9 @@
"dom", "dom",
"es2015.collection", "es2015.collection",
"es2015.promise" "es2015.promise"
] ],
"strictNullChecks": false,
"noUnusedLocals": false
}, },
"include": [ "include": [
"src/**/*.ts", "src/**/*.ts",