deezer / deezer/html-linter

Script returns 0 on Lint failure

Open
#5 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
51
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Hi guys,

Thanks a lot for putting this tool together. Just have one small issue with it. The `html_lint.py` script appears to return 0 on Lint failure, making it difficult to use for automated build tools like Travis. It should return a non-0 code on Lint failure, I reckon.

```
> html_lint.py bad.html
1:1: Error: Indentation: Do not use tabs: Remove the tabs.
> echo $?
0
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.