Skip to content

Commit

Permalink
Merge pull request #1282 from skaut/strict-tsconfig
Browse files Browse the repository at this point in the history
Stricter tsconfig
  • Loading branch information
marekdedic authored Sep 12, 2024
2 parents c7adf56 + ebdcdf2 commit 1461137
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ export default tseslint.config(
files: ["**/*.js"],
rules: {
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
},
},
);
Expand Down
15 changes: 10 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"esModuleInterop": true,
"skipLibCheck": true,
"outDir": "lib",
"forceConsistentCasingInFileNames": true,
"module": "commonjs",
"outDir": "lib",
"resolveJsonModule": true,
"target": "es6",

"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"resolveJsonModule": true,
"strict": true
}
}

0 comments on commit 1461137

Please sign in to comment.