Skip to content

Commit

Permalink
Update tsconfig and dep usage
Browse files Browse the repository at this point in the history
  • Loading branch information
noahm committed Oct 6, 2022
1 parent 72f4b75 commit 2c6a638
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/owner-display.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from "vscode";
import Codeowners from "twitch-codeowners";
import Codeowners from "@nmann/codeowners";
import { getNthProperty } from "./utils";

export class OwnerDisplay {
Expand Down
1 change: 1 addition & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export function getNthProperty(obj: Record<string, string>, n: number) {
if (keys.length > n) {
return obj[keys[n]];
}
return undefined;
}
9 changes: 5 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
/* Strict Type-Checking Option */
"strict": true /* enable all strict type-checking options */,
/* Additional Checks */
"noUnusedLocals": true /* Report errors on unused locals. */
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
// "noUnusedParameters": true, /* Report errors on unused parameters. */
"noUnusedLocals": true /* Report errors on unused locals. */,
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
"noUnusedParameters": true /* Report errors on unused parameters. */,
"esModuleInterop": true
}
}

0 comments on commit 2c6a638

Please sign in to comment.