@herb-tools/linter 0.8.3 → 0.8.5

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 CHANGED
@@ -219,7 +219,7 @@ npx @herb-tools/linter --format=simple --github
219
219
 
220
220
  **Example: `--github` (GitHub annotations + detailed format)**
221
221
  ```
222
- ::error file=template.html.erb,line=3,col=3,title=html-img-require-alt • @herb-tools/linter@0.8.3::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
222
+ ::error file=template.html.erb,line=3,col=3,title=html-img-require-alt • @herb-tools/linter@0.8.5::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
223
223
 
224
224
  [error] Missing required `alt` attribute on `<img>` tag [html-img-require-alt]
225
225
 
@@ -234,7 +234,7 @@ template.html.erb:3:3
234
234
 
235
235
  **Example: `--format=simple --github` (GitHub annotations + simple format)**
236
236
  ```
237
- ::error file=template.html.erb,line=3,col=3,title=html-img-require-alt • @herb-tools/linter@0.8.3::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
237
+ ::error file=template.html.erb,line=3,col=3,title=html-img-require-alt • @herb-tools/linter@0.8.5::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
238
238
 
239
239
  template.html.erb:
240
240
  3:3 ✗ Missing required `alt` attribute on `<img>` tag [html-img-require-alt]
@@ -464,7 +464,7 @@ Custom rules must use the `.mjs` extension to avoid Node.js module type warnings
464
464
  ::: code-group
465
465
 
466
466
 
467
- ```js [.herb/rules/no-inline-styles.mjs]
467
+ ```js [.herb/rules/no-div-tags.mjs]
468
468
  import { BaseRuleVisitor, ParserRule } from "@herb-tools/linter"
469
469
 
470
470
  class NoDivTagsVisitor extends BaseRuleVisitor {