Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Conaclos committed Oct 30, 2024
1 parent 3634d12 commit 15c8814
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 35 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: crates/biome_cli/tests/snap_test.rs
expression: content
snapshot_kind: text
---
## `src/file.js`

Expand Down Expand Up @@ -34,9 +35,9 @@ src/folder_1/package-lock.json project VERBOSE ━━━━━━━━━━
```

```block
src/folder_5/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
src/folder_2/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
i The file src/folder_5/package-lock.json is protected because is handled by another tool. Biome won't process it.
i The file src/folder_2/package-lock.json is protected because is handled by another tool. Biome won't process it.
Verbose advice
Expand All @@ -46,9 +47,9 @@ src/folder_5/package-lock.json project VERBOSE ━━━━━━━━━━
```

```block
src/folder_0/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
src/folder_4/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
i The file src/folder_0/package-lock.json is protected because is handled by another tool. Biome won't process it.
i The file src/folder_4/package-lock.json is protected because is handled by another tool. Biome won't process it.
Verbose advice
Expand All @@ -58,9 +59,9 @@ src/folder_0/package-lock.json project VERBOSE ━━━━━━━━━━
```

```block
src/folder_3/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
src/folder_0/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
i The file src/folder_3/package-lock.json is protected because is handled by another tool. Biome won't process it.
i The file src/folder_0/package-lock.json is protected because is handled by another tool. Biome won't process it.
Verbose advice
Expand All @@ -70,9 +71,9 @@ src/folder_3/package-lock.json project VERBOSE ━━━━━━━━━━
```

```block
src/folder_2/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
src/folder_6/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
i The file src/folder_2/package-lock.json is protected because is handled by another tool. Biome won't process it.
i The file src/folder_6/package-lock.json is protected because is handled by another tool. Biome won't process it.
Verbose advice
Expand All @@ -82,9 +83,9 @@ src/folder_2/package-lock.json project VERBOSE ━━━━━━━━━━
```

```block
src/folder_4/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
src/folder_5/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
i The file src/folder_4/package-lock.json is protected because is handled by another tool. Biome won't process it.
i The file src/folder_5/package-lock.json is protected because is handled by another tool. Biome won't process it.
Verbose advice
Expand All @@ -94,9 +95,9 @@ src/folder_4/package-lock.json project VERBOSE ━━━━━━━━━━
```

```block
src/folder_6/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
src/folder_7/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
i The file src/folder_6/package-lock.json is protected because is handled by another tool. Biome won't process it.
i The file src/folder_7/package-lock.json is protected because is handled by another tool. Biome won't process it.
Verbose advice
Expand All @@ -106,9 +107,9 @@ src/folder_6/package-lock.json project VERBOSE ━━━━━━━━━━
```

```block
src/folder_7/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
src/folder_3/package-lock.json project VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
i The file src/folder_7/package-lock.json is protected because is handled by another tool. Biome won't process it.
i The file src/folder_3/package-lock.json is protected because is handled by another tool. Biome won't process it.
Verbose advice
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: crates/biome_cli/tests/commands/rage.rs
expression: content
snapshot_kind: text
---
## `biome.json`

Expand Down Expand Up @@ -66,33 +67,33 @@ Linter:
Recommended: false
All: false
Enabled rules:
complexity/noBannedTypes
complexity/noThisInStatic
complexity/noUselessConstructor
complexity/useLiteralKeys
complexity/useOptionalChain
complexity/noMultipleSpacesInRegularExpressionLiterals
complexity/noUselessLoneBlockStatements
complexity/noExcessiveNestedTestSuites
complexity/noUselessRename
complexity/useArrowFunction
complexity/noUselessEmptyExport
complexity/noUselessSwitchCase
complexity/noStaticOnlyClass
complexity/noUselessTypeConstraint
complexity/noWith
complexity/useRegexLiterals
complexity/useArrowFunction
complexity/noUselessLoneBlockStatements
complexity/useFlatMap
complexity/noForEach
complexity/noUselessSwitchCase
complexity/useOptionalChain
complexity/noUselessCatch
complexity/noBannedTypes
complexity/noExtraBooleanCast
complexity/noEmptyTypeParameters
complexity/useSimpleNumberKeys
suspicious/noCommentText
complexity/noExcessiveNestedTestSuites
complexity/noUselessLabel
complexity/noUselessCatch
complexity/noUselessTypeConstraint
complexity/useSimpleNumberKeys
complexity/noUselessFragments
complexity/noUselessTernary
complexity/noForEach
complexity/useFlatMap
complexity/noUselessRename
complexity/noUselessLabel
complexity/noThisInStatic
complexity/noUselessConstructor
complexity/noEmptyTypeParameters
complexity/noStaticOnlyClass
complexity/noUselessThisAlias
complexity/noUselessTernary
complexity/useLiteralKeys
complexity/useRegexLiterals
Server:
Version: 0.0.0
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_configuration/src/analyzer/linter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ impl PartialLinterConfiguration {
}

pub fn get_rules(&self) -> Rules {
self.rules.as_ref().unwrap_or(&Rules::default()).clone()
self.rules.clone().unwrap_or_default()
}
}

0 comments on commit 15c8814

Please sign in to comment.