Skip to content

Commit

Permalink
Adding new lint:fix option
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Dec 5, 2024
1 parent 4c33b8a commit 4b1fb52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion frontend/app/nav-links.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use client';
import Link from 'next/link';

export default function NavLinks() {
return (
Expand Down
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint && npx prettier . --check",
"lint:fix": "next lint --fix && npx prettier . --write"
},
"dependencies": {
"@cloudscape-design/components": "3.0.839",
Expand Down

0 comments on commit 4b1fb52

Please sign in to comment.