-
-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): correctly apply import sorting on --apply (#299)
- Loading branch information
Showing
16 changed files
with
73 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
174 changes: 0 additions & 174 deletions
174
crates/biome_cli/tests/snapshots/main_commands_check/different_all_rules.snap
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
crates/biome_cli/tests/snapshots/main_commands_check/fs_error_dereferenced_symlink_unix.snap
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
...ome_cli/tests/snapshots/main_commands_check/fs_error_infinite_symlink_expansion_unix.snap
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
.../biome_cli/tests/snapshots/main_commands_check/should_organize_imports_diff_on_check.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
source: crates/biome_cli/tests/snap_test.rs | ||
expression: content | ||
--- | ||
## `biome.json` | ||
|
||
```json | ||
{ "organizeImports": { "enabled": true } } | ||
``` | ||
|
||
## `check.js` | ||
|
||
```js | ||
import { bar, foom, lorem } from "foo"; | ||
import * as something from "../something"; | ||
|
||
``` | ||
|
||
# Emitted Messages | ||
|
||
```block | ||
Fixed 1 file(s) in <TIME> | ||
``` | ||
|
||
|
57 changes: 0 additions & 57 deletions
57
...e_cli/tests/snapshots/main_commands_check/shows_organize_imports_diff_on_check_apply.snap
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.