Skip to content

Commit

Permalink
feat(vscode): translate snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
keellyp committed May 28, 2024
1 parent 06cd5f2 commit b290c21
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .vscode/lago.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@
"body": "const { hasPermissions } = usePermissions()"
},

// Translations
"Add translate with TODO: key": {
"scope": "typescript, typescriptreact",
"prefix": "trl",
"body": "translate('TODO: $1')"
},

// Linter ignore
"Ignore exhaustive deps if needed": {
"scope": "typescript, typescriptreact",
Expand Down

0 comments on commit b290c21

Please sign in to comment.