Skip to content

Commit

Permalink
lint pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
drew-beamer committed Jun 23, 2024
1 parent 19e8be4 commit d8558cb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npm run lint
npm run lint
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"scripts": {
"build:ui": "tailwindcss -i ./src/styles.css -o ./dist/index.css",
"lint": "eslint src/",
"lint": "eslint src/ --fix --max-warnings=0",
"dev": "tailwindcss -i ./src/styles.css -o ./dist/index.css --watch",
"type-check": "tsc --noEmit"
},
Expand Down
1 change: 0 additions & 1 deletion web/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Image from "next/image";
import Button from "@repo/ui/button";

export default function Home() {
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint --fix --max-warnings=0"
},
"dependencies": {
"@repo/ui": "^0.0.0",
Expand Down

0 comments on commit d8558cb

Please sign in to comment.