Skip to content

Commit

Permalink
chore: adds vscode task to find missing translation keys
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitb35 committed Sep 16, 2024
1 parent ea66e8b commit 921b1c6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ cypress.env.json
/storybook-static
build-storybook.log
src/stories

# vscode and local code
.vscode/settings.json
.vscode/launch.json
.env copy.local

# TypeScript incremental compilation file
tsconfig.tsbuildinfo
17 changes: 17 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"command": "npx tsc --noEmit --pretty | grep -A 1 \"is not assignable to parameter of type 'MessageKeys\"",
"problemMatcher": ["$tsc"],
"presentation": {
"reveal": "always",
"panel": "new"
},
"label": "TypeScript: Check MessageKeys errors"
}
]
}

0 comments on commit 921b1c6

Please sign in to comment.