@herb-tools/linter 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/herb-lint.js +10 -10
- package/dist/herb-lint.js.map +1 -1
- package/dist/package.json +5 -5
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -184,7 +184,7 @@ npx @herb-tools/linter --format=simple --github
|
|
|
184
184
|
|
|
185
185
|
**Example: `--github` (GitHub annotations + detailed format)**
|
|
186
186
|
```
|
|
187
|
-
::error file=template.html.erb,line=3,col=3,title=html-img-require-alt • @herb-tools/linter@0.7.
|
|
187
|
+
::error file=template.html.erb,line=3,col=3,title=html-img-require-alt • @herb-tools/linter@0.7.4::Missing required `alt` attribute on `<img>` tag [html-img-require-alt]%0A%0A%0Atemplate.html.erb:3:3%0A%0A 1 │ <div>%0A 2 │ <span>Test content</span>%0A → 3 │ <img src="test.jpg">%0A │ ~~~%0A 4 │ </div>%0A
|
|
188
188
|
|
|
189
189
|
[error] Missing required `alt` attribute on `<img>` tag [html-img-require-alt]
|
|
190
190
|
|
|
@@ -199,7 +199,7 @@ template.html.erb:3:3
|
|
|
199
199
|
|
|
200
200
|
**Example: `--format=simple --github` (GitHub annotations + simple format)**
|
|
201
201
|
```
|
|
202
|
-
::error file=template.html.erb,line=3,col=3,title=html-img-require-alt • @herb-tools/linter@0.7.
|
|
202
|
+
::error file=template.html.erb,line=3,col=3,title=html-img-require-alt • @herb-tools/linter@0.7.4::Missing required `alt` attribute on `<img>` tag [html-img-require-alt]%0A%0A%0Atemplate.html.erb:3:3%0A%0A 1 │ <div>%0A 2 │ <span>Test content</span>%0A → 3 │ <img src="test.jpg">%0A │ ~~~%0A 4 │ </div>%0A
|
|
203
203
|
|
|
204
204
|
template.html.erb:
|
|
205
205
|
3:3 ✗ Missing required `alt` attribute on `<img>` tag [html-img-require-alt]
|