Skip to content

Commit

Permalink
chore(linter): clean up unused snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jan 25, 2024
1 parent ed87cbf commit 7f114d4
Show file tree
Hide file tree
Showing 41 changed files with 0 additions and 853 deletions.
1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/anchor_has_content.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 119
expression: anchor_has_content
---
eslint-plugin-jsx-a11y(anchor-has-content): Missing accessible content when using `a` elements.
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/anchor_is_valid.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 119
expression: anchor_is_valid
---
eslint-plugin-jsx-a11y(anchor-is-valid): Missing `href` attribute for the `a` element.
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/aria_role.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 144
expression: aria_role
---
eslint-plugin-jsx-a11y(aria-role): Elements with ARIA roles must use a valid, non-abstract ARIA role.
Expand Down
37 changes: 0 additions & 37 deletions crates/oxc_linter/src/snapshots/consistent_type_exports.snap

This file was deleted.

141 changes: 0 additions & 141 deletions crates/oxc_linter/src/snapshots/export.snap

This file was deleted.

1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/html_has_lang.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 144
expression: html_has_lang
---
eslint-plugin-jsx-a11y(html-has-lang): Missing lang attribute.
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/img_redundant_alt.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 143
expression: img_redundant_alt
---
eslint-plugin-jsx-a11y(img-redundant-alt): Redundant alt attribute.
Expand Down
66 changes: 0 additions & 66 deletions crates/oxc_linter/src/snapshots/jsx_no_comment_text_nodes.snap

This file was deleted.

1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/jsx_no_undef.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 144
expression: jsx_no_undef
---
eslint-plugin-react(jsx-no-undef): Disallow undeclared variables in JSX
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/lang.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 144
expression: lang
---
eslint-plugin-jsx-a11y(lang): Lang attribute must have a valid value.
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/max_expects.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 119
expression: max_expects
---
eslint-plugin-jest(max-expects): Enforces a maximum number assertion calls in a test body.
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/no_amd.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 119
expression: no_amd
---
eslint-plugin-import(no-amd): Do not use AMD `require` and `define` calls.
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/no_autofocus.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 130
expression: no_autofocus
---
eslint-plugin-jsx-a11y(no-autofocus): The `autofocus` attribute is found here, which can cause usability issues for sighted and non-sighted users
Expand Down
33 changes: 0 additions & 33 deletions crates/oxc_linter/src/snapshots/no_dangerously_set_inner_html.snap

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 119
expression: no_deprecated_functions
---
eslint-plugin-jest(no-deprecated-functions): Disallow use of deprecated functions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 144
expression: no_direct_mutation_state
---
eslint-plugin-react(no-direct-mutation-state): never mutate this.state directly.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 144
expression: no_distracting_elements
---
eslint-plugin-jsx-a11y(no-distracting-elements): Do not use <marquee> or <blink> elements as they can create visual accessibility issues and are deprecated.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 80
expression: no_empty_character_class
---
eslint(no-empty-character-class): Empty character class
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/no_extra_boolean_cast.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 80
expression: no_extra_boolean_cast
---
eslint(no-extra-boolean-cast): Redundant double negation
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/no_find_dom_node.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 105
expression: no_find_dom_node
---
eslint-plugin-react(no-find-dom-node): Unexpected call to `findDOMNode`.
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_linter/src/snapshots/no_hooks.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 119
expression: no_hooks
---
eslint-plugin-jest(no-hooks): Disallow setup and teardown hooks.
Expand Down
Loading

0 comments on commit 7f114d4

Please sign in to comment.