Skip to content

Commit 999443d

Browse files
committed
add lint-staged with prettier for better formatting
1 parent 34448b5 commit 999443d

File tree

4 files changed

+800
-31
lines changed

4 files changed

+800
-31
lines changed

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"tabWidth": 2,
5+
"trailingComma": "es5"
6+
}

0 commit comments

Comments
 (0)