Skip to content

Commit

Permalink
enable assists by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Jul 29, 2024
1 parent 7a83d8f commit 29e732e
Show file tree
Hide file tree
Showing 17 changed files with 1,289 additions and 1,168 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ src/index.js organizeImports ━━━━━━━━━━━━━━━━━
3 3 │
```

```block
Skipped 1 suggested fixes.
If you wish to apply the suggested (unsafe) fixes, use the command biome check --fix --unsafe
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ file.astro organizeImports ━━━━━━━━━━━━━━━━━
5 5 │ <div></div>
```

```block
Skipped 1 suggested fixes.
If you wish to apply the suggested (unsafe) fixes, use the command biome check --fix --unsafe
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ file.svelte organizeImports ━━━━━━━━━━━━━━━━━
5 5 │ <div></div>
```

```block
Skipped 1 suggested fixes.
If you wish to apply the suggested (unsafe) fixes, use the command biome check --fix --unsafe
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ file.vue organizeImports ━━━━━━━━━━━━━━━━━━
5 5 │ <template></template>
```

```block
Skipped 1 suggested fixes.
If you wish to apply the suggested (unsafe) fixes, use the command biome check --fix --unsafe
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ lint/suspicious/noRedeclare 12 (12 error(s), 0 warni
lint/suspicious/noDebugger 8 (8 error(s), 0 warning(s), 0 info(s))
```

```block
Skipped 2 suggested fixes.
If you wish to apply the suggested (unsafe) fixes, use the command biome check --write --unsafe
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ file.js format ━━━━━━━━━━━━━━━━━━━━━
3 │ +
```

```block
Skipped 1 suggested fixes.
If you wish to apply the suggested (unsafe) fixes, use the command biome check --fix --unsafe
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ internalError/fs DEPRECATED ━━━━━━━━━━━━━━━━
! The argument --apply-unsafe is deprecated, it will be removed in the next major release. Use --write --unsafe instead.
```

```block
Skipped 1 suggested fixes.
If you wish to apply the suggested (unsafe) fixes, use the command biome check --fix --unsafe
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ check.js organizeImports ━━━━━━━━━━━━━━━━━━
Use the `files.maxSize` configuration to change the maximum size of files processed.
```

```block
check.js assists ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
× Size of check.js is 1.0 MiB which exceeds configured maximum of 1.0 MiB for this project.
The file size limit exists to prevent us inadvertently slowing down and loading large files that we shouldn't.
Use the `files.maxSize` configuration to change the maximum size of files processed.
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ check.js organizeImports ━━━━━━━━━━━━━━━━━━
Use the `files.maxSize` configuration to change the maximum size of files processed.
```

```block
check.js assists ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
× Size of check.js is 27 B which exceeds configured maximum of 16 B for this project.
The file size limit exists to prevent us inadvertently slowing down and loading large files that we shouldn't.
Use the `files.maxSize` configuration to change the maximum size of files processed.
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ check.js organizeImports ━━━━━━━━━━━━━━━━━━
Use the `files.maxSize` configuration to change the maximum size of files processed.
```

```block
check.js assists ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
× Size of check.js is 27 B which exceeds configured maximum of 16 B for this project.
The file size limit exists to prevent us inadvertently slowing down and loading large files that we shouldn't.
Use the `files.maxSize` configuration to change the maximum size of files processed.
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ check.js organizeImports ━━━━━━━━━━━━━━━━━━
3 3 │
```

```block
Skipped 1 suggested fixes.
If you wish to apply the suggested (unsafe) fixes, use the command biome check --fix --unsafe
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ internalError/io ━━━━━━━━━━━━━━━━━━━━━

# Emitted Messages

```block
check.txt files/missingHandler VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Biome could not determine the language for the file extension txt
Verbose advice
i If you want to turn off this diagnostic, consider using --files-ignore-unknown from the CLI, or files.ignoreUnknown from the configuration file.
```

```block
Checked 0 files in <TIME>. No fixes applied.
Found 1 warning.
```
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ ci.js organizeImports ━━━━━━━━━━━━━━━━━━━
Use the `files.maxSize` configuration to change the maximum size of files processed.
```

```block
ci.js assists ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
× Size of ci.js is 1.0 MiB which exceeds configured maximum of 1.0 MiB for this project.
The file size limit exists to prevent us inadvertently slowing down and loading large files that we shouldn't.
Use the `files.maxSize` configuration to change the maximum size of files processed.
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ ci.js organizeImports ━━━━━━━━━━━━━━━━━━━
Use the `files.maxSize` configuration to change the maximum size of files processed.
```

```block
ci.js assists ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
× Size of ci.js is 27 B which exceeds configured maximum of 16 B for this project.
The file size limit exists to prevent us inadvertently slowing down and loading large files that we shouldn't.
Use the `files.maxSize` configuration to change the maximum size of files processed.
```

```block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ ci.js organizeImports ━━━━━━━━━━━━━━━━━━━
Use the `files.maxSize` configuration to change the maximum size of files processed.
```

```block
ci.js assists ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
× Size of ci.js is 27 B which exceeds configured maximum of 16 B for this project.
The file size limit exists to prevent us inadvertently slowing down and loading large files that we shouldn't.
Use the `files.maxSize` configuration to change the maximum size of files processed.
```

```block
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_configuration/src/analyzer/assists/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub struct AssistsConfiguration {
impl Default for AssistsConfiguration {
fn default() -> Self {
Self {
enabled: false,
enabled: true,
rules: Rules::default(),
ignore: StringSet::default(),
include: StringSet::default(),
Expand Down
Loading

0 comments on commit 29e732e

Please sign in to comment.