Skip to content

Commit

Permalink
Fix linter and add postscript to auto fix it later
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodxa committed Dec 29, 2023
1 parent 81a1ab8 commit 49b0096
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/components/icon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { type SVGProps } from "react";

import href from "./icon.svg";
export { href };

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"db:migration:create": "wrangler d1 migrations create",
"db:migration:list": "wrangler d1 migrations list",
"db:migration:run": "wrangler d1 migrations apply",
"g:icons": "bunx rmx-cli svg-sprite icons app/components"
"g:icons": "bunx rmx-cli svg-sprite icons app/components",
"postg:icons": "prettier --write app/components/icon.tsx && eslint --fix app/components/icon.tsx"
},
"lint-stage": {
"*.{ts,tsx}": [
Expand Down

0 comments on commit 49b0096

Please sign in to comment.