Skip to content

Commit

Permalink
test(lint): update snapshots for #5139
Browse files Browse the repository at this point in the history
  • Loading branch information
siketyan committed Feb 24, 2025
1 parent e8b32d5 commit ca8e516
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: crates/biome_js_analyze/tests/spec_tests.rs
assertion_line: 366
expression: preferObjectSpreadSuppression.grit
---
# Input
Expand Down Expand Up @@ -60,7 +59,7 @@ preferObjectSpreadSuppression.grit:6:1 suppressions/incorrect ━━━━━━
```
preferObjectSpreadSuppression.grit:5:15 plugin ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Prefer object spread instead of `Object.assign()`
i Prefer object spread instead of `Object.assign()`
4 │ // biome-ignore-start lint/plugin/preferObjectSpreadSuppression: reason
> 5 │ Object.assign({}, {foo: 'bar'});
Expand All @@ -74,7 +73,7 @@ preferObjectSpreadSuppression.grit:5:15 plugin ━━━━━━━━━━━
```
preferObjectSpreadSuppression.grit:14:15 plugin ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Prefer object spread instead of `Object.assign()`
i Prefer object spread instead of `Object.assign()`
12 │ // only suppress specified plugin
13 │ // biome-ignore lint/plugin/anotherPlugin: reason
Expand Down

0 comments on commit ca8e516

Please sign in to comment.