Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: enable typescript error on unused locals
  • Loading branch information
armano2 committed Feb 4, 2020
commit d534b6ce75ec7b8eca75712878283f8b970826b3
2 changes: 1 addition & 1 deletion @commitlint/resolve-extends/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function getId(raw: string = '', prefix: string = ''): string {
return relative || absolute ? raw : [prefix, raw].filter(String).join('-');
}

function resolveConfig<T>(
function resolveConfig(
raw: string,
context: ResolveExtendsContext = {}
): string {
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.shared.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"module": "commonjs",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true
"strict": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"noUnusedLocals": true
}
}