Skip to content

Commit

Permalink
chore: move list-staged config to separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
abdurezakfarah committed Oct 18, 2024
1 parent 8765c1f commit 4b1036c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"src/**/*.css": ["prettier --write 'src/**/*.{ts,tsx,js,jsx,css}'"],
"src/**/*.{ts,tsx,js,jsx}": [
"prettier --write 'src/**/*.{ts,tsx,js,jsx,css}'",
"eslint src --ext ts,js,tsx,jsx --fix"
]
}

0 comments on commit 4b1036c

Please sign in to comment.