Skip to content

Commit e0dae86

Browse files
committed
Introduce Prettier
1 parent 8a4c949 commit e0dae86

File tree

4 files changed

+763
-0
lines changed

4 files changed

+763
-0
lines changed

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx lint-staged

.prettierrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true,
4+
"trailingComma": "all",
5+
"proseWrap": "always"
6+
}

0 commit comments

Comments
 (0)