Skip to content

Commit

Permalink
feat: add config
Browse files Browse the repository at this point in the history
  • Loading branch information
yaolifeng0629 committed Jul 18, 2024
1 parent 96ddce6 commit ec1c038
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"*.{js,jsx,ts,tsx,mjs,cjs,mts,cts,mtsx,ctsx}": ["prettier --write"],
"*.{json,md,mdx,yaml}": ["prettier --write"],
"*.{css,less,sass,scss}": ["prettier --write"]
}

0 comments on commit ec1c038

Please sign in to comment.