Skip to content

Commit

Permalink
chore: add formatting to all file types
Browse files Browse the repository at this point in the history
  • Loading branch information
42tte committed Sep 9, 2024
1 parent c7328df commit f01606c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"build": "next build",
"start": "next start",
"export": "next export",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"lint": "eslint 'src/**/*.{js,ts,tsx}'",
"gen:pay": "node tools/pay.js",
"analyze-bundle": "ANALYZE=true yarn build",
"prepare": "husky install",
Expand All @@ -74,7 +74,7 @@
"not op_mini all"
],
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
"**/*.{js,ts,tsx}": "eslint --cache --fix",
"**/*": "prettier --write --ignore-unknown"
}
}

0 comments on commit f01606c

Please sign in to comment.