feat: display warning log message when it can not parse config · is2ei/HTMLHint@653dd66 · GitHub
Skip to content

Commit 653dd66

Browse files
committed
feat: display warning log message when it can not parse config
fix htmlhint#662
1 parent 200e2e5 commit 653dd66

5 files changed

Lines changed: 45 additions & 2 deletions

File tree

‎dist/cli/htmlhint.js‎

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/cli/htmlhint.ts‎

Lines changed: 2 additions & 1 deletion

‎test/conf/invalid-json.conf‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"attr-lowercase": false,
3+
}

‎test/conf/valid-json.conf‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"attr-lowercase": false
3+
}

‎test/executable.spec.js‎

Lines changed: 34 additions & 0 deletions

0 commit comments

Comments
 (0)