Skip to content

Commit

Permalink
fixup! 🔧(linter) remove duplicated lint command
Browse files Browse the repository at this point in the history
  • Loading branch information
lebaudantoine committed Mar 5, 2024
1 parent f852d41 commit 4d70479
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": ["next/core-web-vitals", "prettier"]
"extends": ["next/core-web-vitals", "plugin:prettier/recommended"]
}
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
public/
gitlint/
.github/
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "prettier --check ./src",
"lint:fix": "prettier --write ./src"
"lint": "prettier --check \"**/*.{ts,tsx,md,json,cjs,js}\"",
"lint:fix": "prettier --write \"**/*.{ts,tsx,md,json,cjs,js}\""
},
"dependencies": {
"classnames": "2.5.1",
Expand Down

0 comments on commit 4d70479

Please sign in to comment.