Skip to content

Commit

Permalink
add stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
jmau111 committed Apr 21, 2022
1 parent 00baf59 commit e8c00d6
Show file tree
Hide file tree
Showing 8 changed files with 7,922 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint --fix && npm run type-check
npm run lint:all && npm run type-check
10 changes: 10 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": [
"stylelint-config-recommended",
"stylelint-prettier/recommended",
"stylelint-config-standard-scss"
],
"ignoreFiles": [
"./src/styles/nes.min.css"
]
}
Loading

0 comments on commit e8c00d6

Please sign in to comment.