-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Handle parsing errors on base64 and json encoded data (#7)
- Loading branch information
Showing
4 changed files
with
70 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ auto-lint: true | |
# runs vitest | ||
test-cmd: pnpm run test && pnpm run types | ||
auto-test: true | ||
|
||
read: CONVENTIONS.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
- Avoid casting with as whenever possible | ||
- Avoid unsafe types like any | ||
- Prefer checking for presence with 'val == null' instead of '!val' | ||
- Use unique test identifiers | ||
- Don't add comments | ||
- avoid casting with as whenever possible | ||
- avoid unsafe types like any | ||
- prefer checking for presence with 'val == null' instead of '!val' | ||
- avoid adding comments explaining code | ||
- prefer for of loops over traditional for loops or forEach |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters