Skip to content

Commit

Permalink
chore: add initial Nu Validator error filters
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Nov 22, 2017
1 parent 1a81c19 commit e773677
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .vnurc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Add regex filters for the Nu Validator error messages for proposed changes
# not yet added to the validator.
#
# Proposed, tracking in gh-429
Bad value “” for attribute “aria-activedescendant” on element “ul”:.*
# Valid, tracking upstream fix in gh-432
Bad value “none” for attribute “role” on element “li”.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"fix": "eslint --fix bin examples",
"lint": "eslint bin examples",
"vnu-jar": "java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only --no-langdetect examples/**/*.html",
"vnu-jar": "java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only --filterfile .vnurc --no-langdetect examples/**/*.html",
"test": "npm run lint && npm run vnu-jar"
},
"repository": {
Expand Down

0 comments on commit e773677

Please sign in to comment.