Skip to content

Commit e8c00d6

Browse files
committed
add stylelint
1 parent 00baf59 commit e8c00d6

File tree

8 files changed

+7922
-54
lines changed

8 files changed

+7922
-54
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npm run lint --fix && npm run type-check
4+
npm run lint:all && npm run type-check

.stylelintrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": [
3+
"stylelint-config-recommended",
4+
"stylelint-prettier/recommended",
5+
"stylelint-config-standard-scss"
6+
],
7+
"ignoreFiles": [
8+
"./src/styles/nes.min.css"
9+
]
10+
}

0 commit comments

Comments
 (0)