// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`CLI Output Formatting > \`all\` pseudo rule in .herb.yml > \`Rules\` summary line > \`--all-rules\` replaces the counts from a disabled \`all\` 1`] = ` "✓ Using Herb config file at /test/herb/javascript/packages/linter/test/fixtures/.herb.yml test-file-with-errors.html.erb: 3:3 ⚠ Missing required \`alt\` attribute on \`\` tag. Add \`alt=""\` for decorative images or \`alt="description"\` for informative images. (html-img-require-alt) 2:3 ✗ Opening tag name \`\` should be lowercase. Use \`\` instead. (html-tag-name-lowercase) [Correctable] 2:22 ✗ Closing tag name \`\` should be lowercase. Use \`\` instead. (html-tag-name-lowercase) [Correctable] Rule offenses: html-tag-name-lowercase (2 offenses in 1 file) html-img-require-alt (1 offense in 1 file) Summary: Checked 1 file Failing 2 errors (2 offenses across 1 file) Not failing 1 warning (1 offense across 1 file, below --fail-level=error) Fixable 3 offenses | 2 autocorrectable using \`--fix\` Rules 171 enabled | all rules via --all-rules" `; exports[`CLI Output Formatting > \`all\` pseudo rule in .herb.yml > \`Rules\` summary line > \`--only\` replaces the counts from a disabled \`all\` 1`] = ` "✓ Using Herb config file at /test/herb/javascript/packages/linter/test/fixtures/.herb.yml test-file-with-errors.html.erb: 2:3 ✗ Opening tag name \`\` should be lowercase. Use \`\` instead. (html-tag-name-lowercase) [Correctable] 2:22 ✗ Closing tag name \`\` should be lowercase. Use \`\` instead. (html-tag-name-lowercase) [Correctable] Rule offenses: html-tag-name-lowercase (2 offenses in 1 file) Summary: Checked 1 file Offenses 2 errors (2 offenses across 1 file) Fixable 2 offenses | 2 autocorrectable using \`--fix\` Rules 1 enabled | filtered by --only" `; exports[`CLI Output Formatting > \`all\` pseudo rule in .herb.yml > \`Rules\` summary line > \`all: enabled: false\` reports no enabled rules and the rest as not enabled 1`] = ` "✓ Using Herb config file at /test/herb/javascript/packages/linter/test/fixtures/.herb.yml ✓ test-file-with-errors.html.erb - No issues found Summary: Checked 1 file Offenses 0 offenses Fixable 0 offenses Rules 0 enabled | 171 not enabled No rules enabled: Every linter rule is turned off, so no offenses can be reported. from Herb config: /test/herb/javascript/packages/linter/test/fixtures/.herb.yml Enable rules under linter.rules in your .herb.yml, or run herb-lint --all-rules to lint with every rule for a single run. https://herb-tools.dev/configuration#setting-the-default-for-all-rules" `; exports[`CLI Output Formatting > \`all\` pseudo rule in .herb.yml > \`Rules\` summary line > \`all: enabled: false\` swallows the version-skipped rules into \`not enabled\` 1`] = ` "✓ Using Herb config file at /test/herb/javascript/packages/linter/test/fixtures/.herb.yml ✓ test-file-with-errors.html.erb - No issues found Summary: Checked 1 file Offenses 0 offenses Fixable 0 offenses Rules 0 enabled | 171 not enabled No rules enabled: Every linter rule is turned off, so no offenses can be reported. from Herb config: /test/herb/javascript/packages/linter/test/fixtures/.herb.yml Enable rules under linter.rules in your .herb.yml, or run herb-lint --all-rules to lint with every rule for a single run. https://herb-tools.dev/configuration#setting-the-default-for-all-rules" `; exports[`CLI Output Formatting > \`all\` pseudo rule in .herb.yml > \`Rules\` summary line > \`all: enabled: true\` reports every rule as enabled and nothing else 1`] = ` "✓ Using Herb config file at /test/herb/javascript/packages/linter/test/fixtures/.herb.yml test-file-with-errors.html.erb: 3:3 ⚠ Missing required \`alt\` attribute on \`\` tag. Add \`alt=""\` for decorative images or \`alt="description"\` for informative images. (html-img-require-alt) 2:3 ✗ Opening tag name \`\` should be lowercase. Use \`\` instead. (html-tag-name-lowercase) [Correctable] 2:22 ✗ Closing tag name \`\` should be lowercase. Use \`\` instead. (html-tag-name-lowercase) [Correctable] Rule offenses: html-tag-name-lowercase (2 offenses in 1 file) html-img-require-alt (1 offense in 1 file) Summary: Checked 1 file Failing 2 errors (2 offenses across 1 file) Not failing 1 warning (1 offense across 1 file, below --fail-level=error) Fixable 3 offenses | 2 autocorrectable using \`--fix\` Rules 171 enabled" `; exports[`CLI Output Formatting > \`all\` pseudo rule in .herb.yml > \`Rules\` summary line > \`all: enabled: true\` reports no version-skipped rules 1`] = ` "✓ Using Herb config file at /test/herb/javascript/packages/linter/test/fixtures/.herb.yml test-file-with-errors.html.erb: 3:3 ⚠ Missing required \`alt\` attribute on \`\` tag. Add \`alt=""\` for decorative images or \`alt="description"\` for informative images. (html-img-require-alt) 2:3 ✗ Opening tag name \`\` should be lowercase. Use \`\` instead. (html-tag-name-lowercase) [Correctable] 2:22 ✗ Closing tag name \`\` should be lowercase. Use \`\` instead. (html-tag-name-lowercase) [Correctable] Rule offenses: html-tag-name-lowercase (2 offenses in 1 file) html-img-require-alt (1 offense in 1 file) Summary: Checked 1 file Failing 2 errors (2 offenses across 1 file) Not failing 1 warning (1 offense across 1 file, below --fail-level=error) Fixable 3 offenses | 2 autocorrectable using \`--fix\` Rules 171 enabled" `; exports[`CLI Output Formatting > \`all\` pseudo rule in .herb.yml > \`Rules\` summary line > reports enabled and not-enabled rules when no \`all\` is configured 1`] = ` "✓ Using Herb config file at /test/herb/javascript/packages/linter/.herb.yml test/fixtures/test-file-with-errors.html.erb: 3:3 ⚠ Missing required \`alt\` attribute on \`\` tag. Add \`alt=""\` for decorative images or \`alt="description"\` for informative images. (html-img-require-alt) 2:3 ✗ Opening tag name \`\` should be lowercase. Use \`\` instead. (html-tag-name-lowercase) [Correctable] 2:22 ✗ Closing tag name \`\` should be lowercase. Use \`\` instead. (html-tag-name-lowercase) [Correctable] Rule offenses: html-tag-name-lowercase (2 offenses in 1 file) html-img-require-alt (1 offense in 1 file) Summary: Checked 1 file Failing 2 errors (2 offenses across 1 file) Not failing 1 warning (1 offense across 1 file, below --fail-level=error) Fixable 3 offenses | 2 autocorrectable using \`--fix\` Rules 149 enabled | 22 not enabled" `; exports[`CLI Output Formatting > \`all\` pseudo rule in .herb.yml > \`Rules\` summary line > rules opted back in on top of \`all: enabled: false\` count as enabled 1`] = ` "✓ Using Herb config file at /test/herb/javascript/packages/linter/test/fixtures/.herb.yml test-file-with-errors.html.erb: 3:3 ⚠ Missing required \`alt\` attribute on \`\` tag. Add \`alt=""\` for decorative images or \`alt="description"\` for informative images. (html-img-require-alt) Rule offenses: html-img-require-alt (1 offense in 1 file) Summary: Checked 1 file Failing 0 offenses Not failing 1 warning (1 offense across 1 file, below --fail-level=error) Fixable 0 offenses Rules 1 enabled | 170 not enabled" `; exports[`CLI Output Formatting > \`all\` pseudo rule in .herb.yml > \`Rules\` summary line > rules opted out on top of \`all: enabled: true\` count as disabled 1`] = ` "✓ Using Herb config file at /test/herb/javascript/packages/linter/test/fixtures/.herb.yml test-file-with-errors.html.erb: 2:3 ✗ Opening tag name \`\` should be lowercase. Use \`\` instead. (html-tag-name-lowercase) [Correctable] 2:22 ✗ Closing tag name \`\` should be lowercase. Use \`\` instead. (html-tag-name-lowercase) [Correctable] Rule offenses: html-tag-name-lowercase (2 offenses in 1 file) Summary: Checked 1 file Offenses 2 errors (2 offenses across 1 file) Fixable 2 offenses | 2 autocorrectable using \`--fix\` Rules 170 enabled | 1 disabled" `; exports[`CLI Output Formatting > --all-rules > reports every offense for the fixture with --all-rules 1`] = ` "✓ Using Herb config file at /test/herb/javascript/packages/linter/.herb.yml test/fixtures/all-rules.html.erb: 2:2 ⚠ Avoid using generic link text such as "click here". Screen reader users often navigate by links, and generic text like "Read more", "Learn more", "Click here", "More", "Link", or "Here" is not meaningful out of context. (a11y-avoid-generic-link-text) 2:18 ⚠ Avoid using the \`accesskey\` attribute. Inconsistencies between keyboard shortcuts and keyboard commands used by screen readers and keyboard-only users create accessibility complications. (a11y-no-accesskey-attribute) 6:1 ⚠ Avoid using the \`autofocus\` attribute. It reduces accessibility by moving users to an element without warning and context. (a11y-no-autofocus-attribute) 5:20 ⚠ \`\` \`alt\` prop should not contain "image" or "picture" as screen readers already announce the element as an image. (a11y-no-redundant-image-alt) 1:1 ⚠ The navigation landmark should have a unique accessible name via \`aria-label\` or \`aria-labelledby\`. Remember that the name does not need to include "navigation" or "nav" since it will already be announced. (html-navigation-has-label) 2:3 ⚠ The \`title\` attribute should never be used as it is inaccessible for several groups of users. Use \`aria-label\` or \`aria-describedby\` instead. Exceptions are provided for \`