Skip to content

Commit

Permalink
chore(deps): update rust crate rustc-hash to v2 (#4284)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Victorien Elvinger <victorien@elvinger.fr>
  • Loading branch information
renovate[bot] and Conaclos authored Oct 30, 2024
1 parent 60291d2 commit 1b602dc
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 61 deletions.
42 changes: 21 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ quickcheck_macros = "1.0.0"
quote = "1.0.37"
rayon = "1.10.0"
regex = "1.11.0"
rustc-hash = "1.1.0"
rustc-hash = "2.0.0"
schemars = { version = "0.8.21", features = ["indexmap2", "smallvec"] }
serde = { version = "1.0.210", features = ["derive"] }
serde_ini = "0.2.0"
Expand Down
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()
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: crates/biome_js_analyze/tests/spec_tests.rs
expression: +in+valid.js
snapshot_kind: text
---
# Input
```jsx
Expand All @@ -14,8 +15,8 @@ expression: +in+valid.js
! The filename should be in camelCase or kebab-case or snake_case or equal to the name of an export.
i The filename could be renamed to one of the following names:
+inValid.js
+in-valid.js
+inValid.js
+in_valid.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: crates/biome_js_analyze/tests/spec_tests.rs
expression: InvalidPascalCase.js
snapshot_kind: text
---
# Input
```jsx
Expand All @@ -15,10 +16,8 @@ InvalidPascalCase.js lint/style/useFilenamingConvention ━━━━━━━━
i The filename could be renamed to one of the following names:
invalid-pascal-case.js
invalid_pascal_case.js
invalidPascalCase.js
invalid_pascal_case.js
```


0 comments on commit 1b602dc

Please sign in to comment.