Skip to content

Commit b1ee6ad

Browse files
committed
setup for prettier and stylelint
1 parent 10a7758 commit b1ee6ad

10 files changed

+1430
-20
lines changed

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm test

.prettierrc.json

Whitespace-only changes.

.stylelintrc.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": "stylelint-config-standard",
3+
"plugins": [
4+
"stylelint-prettier"
5+
],
6+
"rules": {
7+
"prettier/prettier": true
8+
}
9+
}

0 commit comments

Comments
 (0)