Skip to content

Commit 0be17e3

Browse files
author
Mickey Zheng
committedNov 5, 2024
chore: add husky, prettier and lint-staged
1 parent 10b910a commit 0be17e3

File tree

4 files changed

+1126
-241
lines changed

4 files changed

+1126
-241
lines changed
 

‎.husky/pre-commit

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

‎.prettierrc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"printWidth": 80,
3+
"useTabs": false,
4+
"semi": true,
5+
"singleQuote": false,
6+
"jsxSingleQuote": false,
7+
"trailingComma": "es5",
8+
"bracketSpacing": true,
9+
"bracketSameLine": false,
10+
"arrowParens": "always",
11+
"singleAttributePerLine": true
12+
}

0 commit comments

Comments
 (0)