Skip to content

Commit

Permalink
chore: use ESLint and Prettier before commit on JSX and TS files too (#…
Browse files Browse the repository at this point in the history
…2619)

* chore: use ESLint and Prettier before commit on JSX files too

* chore: run Prettier
  • Loading branch information
wojtekmaj authored Feb 7, 2024
1 parent f0cacb2 commit fb4ce48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"vitest-fetch-mock": "^0.2.2"
},
"lint-staged": {
"*.js": [
"*.{js,jsx,ts,tsx}": [
"yarn lint",
"prettier --write"
]
Expand Down
4 changes: 2 additions & 2 deletions packages/types/image.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ type SourceURL = string;

type SourceBuffer = Buffer;

type SourceBlob = Blob
type SourceBlob = Blob;

type SourceDataBuffer = { data: Buffer; format: 'png' | 'jpg' }
type SourceDataBuffer = { data: Buffer; format: 'png' | 'jpg' };

type SourceURLObject = {
uri: string;
Expand Down

0 comments on commit fb4ce48

Please sign in to comment.