https://github.com/cherry/htmllint-problem-matcher
A GitHub Action that registers a problem matcher for htmllint's report format
https://github.com/cherry/htmllint-problem-matcher
annotations github-actions hacktoberfest htmllint linting problem-matcher
Last synced: 6 months ago
JSON representation
A GitHub Action that registers a problem matcher for htmllint's report format
- Host: GitHub
- URL: https://github.com/cherry/htmllint-problem-matcher
- Owner: Cherry
- License: mit
- Created: 2020-02-27T17:50:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T21:07:05.000Z (8 months ago)
- Last Synced: 2024-12-01T13:02:14.404Z (6 months ago)
- Topics: annotations, github-actions, hacktoberfest, htmllint, linting, problem-matcher
- Language: TypeScript
- Homepage:
- Size: 1.3 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Problem Matcher for htmllint
[](https://github.com/Cherry/htmllint-problem-matcher/actions?query=workflow%3ACI)
Adds a problem matcher that will detect errors from [htmllint](https://github.com/htmllint/htmllint) and create annotations for them.
## Usage
```yml
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
- uses: Cherry/htmllint-problem-matcher@v1
- run: npm ci
- run: npm test
```
## OptionsName | Allowed values | Description
-- | -- | --
`action` | `add` (default), `remove` | If the problem matcher should be registered or removed