Skip to content

Commit

Permalink
build(tsconfig): Add noUnusedLocals to tsconfig.json (#1601)
Browse files Browse the repository at this point in the history
- Add noUnusedLocals property mentioned in this issue: #1280
- Remove unused `dictCount` property detected by added flag.

Other useful tsconfig flags can be handled in subsequent pull requests
  • Loading branch information
bryanjenningz committed Jun 5, 2023
1 parent 8d4f60a commit eba42c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion extension/rikaicontent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ type Rikaichan = {
};

class RcxContent {
private dictCount = 3;
private altView = 0;

private sameDict = 0;
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"pretty": true,
"sourceMap": true,
"strict": true,
Expand Down

0 comments on commit eba42c2

Please sign in to comment.