Skip to content

Commit

Permalink
Add htmlvalidate and enable rule for button type
Browse files Browse the repository at this point in the history
  • Loading branch information
caebr committed Apr 15, 2021
1 parent 166b2f5 commit cf65a3d
Show file tree
Hide file tree
Showing 4 changed files with 533 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .htmlvalidate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"rules": {
"element-required-attributes": "error"
},
"elements": [
{
"button": {
"requiredAttributes": ["type"]
}
}
]
}
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"

lint-staged
lint-staged -r
Loading

0 comments on commit cf65a3d

Please sign in to comment.