Skip to content

Commit

Permalink
chore(ci): synchronize to 6922305 (#1177)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Sep 19, 2024
1 parent 0d8617e commit 7aaa155
Show file tree
Hide file tree
Showing 9 changed files with 101 additions and 94 deletions.
114 changes: 57 additions & 57 deletions Cargo.lock

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,30 @@
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.89"
biome_flags = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_analyze = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_cli = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_configuration = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_console = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_css_analyze = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_css_parser = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_css_syntax = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_diagnostics = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_graphql_analyze = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_graphql_parser = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_graphql_syntax = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_js_analyze = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_js_formatter = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_js_parser = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_js_syntax = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_json_analyze = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_json_formatter = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_json_parser = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_json_syntax = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_rowan = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_service = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_string_case = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_text_edit = { git = "https://github.com/biomejs/biome.git", rev = "b4d9d9ed9a641a2aa363f6c2d29db82ec3d8d51f" }
biome_flags = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_analyze = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_cli = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_configuration = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_console = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_css_analyze = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_css_parser = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_css_syntax = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_diagnostics = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_graphql_analyze = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_graphql_parser = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_graphql_syntax = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_js_analyze = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_js_formatter = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_js_parser = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_js_syntax = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_json_analyze = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_json_formatter = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_json_parser = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_json_syntax = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_rowan = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_service = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_string_case = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
biome_text_edit = { git = "https://github.com/biomejs/biome.git", rev = "69223055aadb200eadc19bc9201fcf04bdbd50c4" }
bpaf = { version = "0.9.13", features = ["docgen"] }
# If you update this library, be aware of the breaking changes
pulldown-cmark = "0.10.3"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@astrojs/rss": "4.0.7",
"@astrojs/starlight": "0.26.1",
"@biomejs/biome": "1.8.3",
"@biomejs/wasm-web": "https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@b4d9d9e",
"@biomejs/wasm-web": "https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@6922305",
"@codemirror/lang-css": "6.3.0",
"@codemirror/lang-html": "6.4.9",
"@codemirror/lang-javascript": "6.2.2",
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

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

5 changes: 5 additions & 0 deletions src/content/docs/linter/rules-sources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ Some **Biome** rules might **not** have options, compared to the original rule.
| Stylelint rule name | Biome rule name |
| ---- | ---- |
| [block-no-empty](https://github.com/stylelint/stylelint/blob/main/lib/rules/block-no-empty/README.md) |[noEmptyBlock](/linter/rules/no-empty-block) |
| [custom-property-no-missing-var-function](https://github.com/stylelint/stylelint/blob/main/lib/rules/custom-property-no-missing-var-function/README.md) |[noMissingVarFunction](/linter/rules/no-missing-var-function) |
| [declaration-block-no-duplicate-custom-properties](https://github.com/stylelint/stylelint/blob/main/lib/rules/declaration-block-no-duplicate-custom-properties/README.md) |[noDuplicateCustomProperties](/linter/rules/no-duplicate-custom-properties) |
| [declaration-block-no-shorthand-property-overrides](https://github.com/stylelint/stylelint/blob/main/lib/rules/declaration-block-no-shorthand-property-overrides/README.md) |[noShorthandPropertyOverrides](/linter/rules/no-shorthand-property-overrides) |
| [font-family-no-duplicate-names](https://github.com/stylelint/stylelint/blob/main/lib/rules/font-family-no-duplicate-names/README.md) |[noDuplicateFontNames](/linter/rules/no-duplicate-font-names) |
Expand Down Expand Up @@ -286,6 +287,10 @@ Some **Biome** rules might **not** have options, compared to the original rule.
| ---- | ---- |
| [exhaustive-deps](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/README.md) |[useExhaustiveDependencies](/linter/rules/use-exhaustive-dependencies) (inspired) |
| [rules-of-hooks](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/README.md) |[useHookAtTopLevel](/linter/rules/use-hook-at-top-level) |
### eslint-plugin-react-refresh
| eslint-plugin-react-refresh rule name | Biome rule name |
| ---- | ---- |
| [only-export-components](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) |[useComponentExportOnlyModules](/linter/rules/use-component-export-only-modules) (inspired) |
### eslint-plugin-solid
| eslint-plugin-solid rule name | Biome rule name |
| ---- | ---- |
Expand Down
6 changes: 4 additions & 2 deletions src/content/docs/linter/rules/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,9 @@ New rules that are still under development.<br /><br />Nursery rules require exp
| [noDynamicNamespaceImportAccess](/linter/rules/no-dynamic-namespace-import-access) | Disallow accessing namespace imports dynamically. | <span class='inline-icon' title="JavaScript and super languages rule."><Icon name="seti:javascript" label="JavaScript and super languages rule." size="1.2rem"/></span> |
| [noEnum](/linter/rules/no-enum) | Disallow TypeScript enum. | <span class='inline-icon' title="TypeScript rule."><Icon name="seti:typescript" label="TypeScript rule" size="1.2rem"/></span> |
| [noExportedImports](/linter/rules/no-exported-imports) | Disallow exporting an imported variable. | <span class='inline-icon' title="JavaScript and super languages rule."><Icon name="seti:javascript" label="JavaScript and super languages rule." size="1.2rem"/></span> |
| [noIrregularWhitespace](/linter/rules/no-irregular-whitespace) | Disallows the use of irregular whitespace characters. | <span class='inline-icon' title="CSS rule."><Icon name="seti:css" label="CSS rule" size="1.2rem"/></span> |
| [noIrregularWhitespace](/linter/rules/no-irregular-whitespace) | Disallows the use of irregular whitespace characters. | <span class='inline-icon' title="JavaScript and super languages rule."><Icon name="seti:javascript" label="JavaScript and super languages rule." size="1.2rem"/></span> |
| [noIrregularWhitespace](/linter/rules/no-irregular-whitespace) | Disallows the use of irregular whitespace characters. | <span class='inline-icon' title="CSS rule."><Icon name="seti:css" label="CSS rule" size="1.2rem"/></span> |
| [noMissingVarFunction](/linter/rules/no-missing-var-function) | Disallow missing var function for css variables. | <span class='inline-icon' title="CSS rule."><Icon name="seti:css" label="CSS rule" size="1.2rem"/></span> |
| [noProcessEnv](/linter/rules/no-process-env) | Disallow the use of `process.env`. | <span class='inline-icon' title="JavaScript and super languages rule."><Icon name="seti:javascript" label="JavaScript and super languages rule." size="1.2rem"/></span> |
| [noRestrictedImports](/linter/rules/no-restricted-imports) | Disallow specified modules when loaded by import or require. | <span class='inline-icon' title="JavaScript and super languages rule."><Icon name="seti:javascript" label="JavaScript and super languages rule." size="1.2rem"/></span> |
| [noRestrictedTypes](/linter/rules/no-restricted-types) | Disallow user defined types. | <span class='inline-icon' title='The rule has a safe fix.'><Icon name="seti:config" label="The rule has a safe fix" size="1.2rem" /></span><span class='inline-icon' title="TypeScript rule."><Icon name="seti:typescript" label="TypeScript rule" size="1.2rem"/></span> |
Expand All @@ -183,6 +184,7 @@ New rules that are still under development.<br /><br />Nursery rules require exp
| [noValueAtRule](/linter/rules/no-value-at-rule) | Disallow use of `@value` rule in css modules. | <span class='inline-icon' title="CSS rule."><Icon name="seti:css" label="CSS rule" size="1.2rem"/></span> |
| [useAdjacentOverloadSignatures](/linter/rules/use-adjacent-overload-signatures) | Disallow the use of overload signatures that are not next to each other. | <span class='inline-icon' title="JavaScript and super languages rule."><Icon name="seti:javascript" label="JavaScript and super languages rule." size="1.2rem"/></span> |
| [useAriaPropsSupportedByRole](/linter/rules/use-aria-props-supported-by-role) | Enforce that ARIA properties are valid for the roles that are supported by the element. | <span class='inline-icon' title="JavaScript and super languages rule."><Icon name="seti:javascript" label="JavaScript and super languages rule." size="1.2rem"/></span> |
| [useComponentExportOnlyModules](/linter/rules/use-component-export-only-modules) | Enforce declaring components only within modules that export React Components exclusively. | <span class='inline-icon' title="JSX rule."><Icon name="seti:javascript" label="JSX rule" size="1.2rem"/></span> |
| [useConsistentCurlyBraces](/linter/rules/use-consistent-curly-braces) | This rule enforces consistent use of curly braces inside JSX attributes and JSX children. | <span class='inline-icon' title="The rule has an unsafe fix" ><Icon name="warning" label="The rule has an unsafe fix" size="1.2rem" /></span><span class='inline-icon' title="JSX rule."><Icon name="seti:javascript" label="JSX rule" size="1.2rem"/></span> |
| [useConsistentMemberAccessibility](/linter/rules/use-consistent-member-accessibility) | Require consistent accessibility modifiers on class properties and methods. | <span class='inline-icon' title="TypeScript rule."><Icon name="seti:typescript" label="TypeScript rule" size="1.2rem"/></span> |
| [useDeprecatedReason](/linter/rules/use-deprecated-reason) | Require specifying the reason argument when using `@deprecated` directive | <span class='inline-icon' title="GraphQL rule"><Icon name="seti:graphql" label="GraphQL rule" size="1.2rem"/></span> |
Expand Down Expand Up @@ -294,8 +296,8 @@ Rules that detect code that is likely to be incorrect or useless.
| [noDuplicateClassMembers](/linter/rules/no-duplicate-class-members) | Disallow duplicate class members. | <span class='inline-icon' title="This rule is recommended" ><Icon name="approve-check-circle" size="1.2rem" label="This rule is recommended" /></span><span class='inline-icon' title="JavaScript and super languages rule."><Icon name="seti:javascript" label="JavaScript and super languages rule." size="1.2rem"/></span> |
| [noDuplicateFontNames](/linter/rules/no-duplicate-font-names) | Disallow duplicate names within font families. | <span class='inline-icon' title="This rule is recommended" ><Icon name="approve-check-circle" size="1.2rem" label="This rule is recommended" /></span><span class='inline-icon' title="CSS rule."><Icon name="seti:css" label="CSS rule" size="1.2rem"/></span> |
| [noDuplicateJsxProps](/linter/rules/no-duplicate-jsx-props) | Prevents JSX properties to be assigned multiple times. | <span class='inline-icon' title="This rule is recommended" ><Icon name="approve-check-circle" size="1.2rem" label="This rule is recommended" /></span><span class='inline-icon' title="JSX rule."><Icon name="seti:javascript" label="JSX rule" size="1.2rem"/></span> |
| [noDuplicateObjectKeys](/linter/rules/no-duplicate-object-keys) | Disallow two keys with the same name inside objects. | <span class='inline-icon' title="This rule is recommended" ><Icon name="approve-check-circle" size="1.2rem" label="This rule is recommended" /></span><span class='inline-icon' title="JSON rule."><Icon name="seti:json" label="JSON rule" size="1.2rem"/></span> |
| [noDuplicateObjectKeys](/linter/rules/no-duplicate-object-keys) | Disallow two keys with the same name inside objects. | <span class='inline-icon' title="This rule is recommended" ><Icon name="approve-check-circle" size="1.2rem" label="This rule is recommended" /></span><span class='inline-icon' title="The rule has an unsafe fix" ><Icon name="warning" label="The rule has an unsafe fix" size="1.2rem" /></span><span class='inline-icon' title="JavaScript and super languages rule."><Icon name="seti:javascript" label="JavaScript and super languages rule." size="1.2rem"/></span> |
| [noDuplicateObjectKeys](/linter/rules/no-duplicate-object-keys) | Disallow two keys with the same name inside objects. | <span class='inline-icon' title="This rule is recommended" ><Icon name="approve-check-circle" size="1.2rem" label="This rule is recommended" /></span><span class='inline-icon' title="JSON rule."><Icon name="seti:json" label="JSON rule" size="1.2rem"/></span> |
| [noDuplicateParameters](/linter/rules/no-duplicate-parameters) | Disallow duplicate function parameter name. | <span class='inline-icon' title="This rule is recommended" ><Icon name="approve-check-circle" size="1.2rem" label="This rule is recommended" /></span><span class='inline-icon' title="JavaScript and super languages rule."><Icon name="seti:javascript" label="JavaScript and super languages rule." size="1.2rem"/></span> |
| [noDuplicateSelectorsKeyframeBlock](/linter/rules/no-duplicate-selectors-keyframe-block) | Disallow duplicate selectors within keyframe blocks. | <span class='inline-icon' title="This rule is recommended" ><Icon name="approve-check-circle" size="1.2rem" label="This rule is recommended" /></span><span class='inline-icon' title="CSS rule."><Icon name="seti:css" label="CSS rule" size="1.2rem"/></span> |
| [noDuplicateTestHooks](/linter/rules/no-duplicate-test-hooks) | A `describe` block should not contain duplicate hooks. | <span class='inline-icon' title="This rule is recommended" ><Icon name="approve-check-circle" size="1.2rem" label="This rule is recommended" /></span><span class='inline-icon' title="JavaScript and super languages rule."><Icon name="seti:javascript" label="JavaScript and super languages rule." size="1.2rem"/></span> |
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/linter/rules/no-missing-var-function.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components';
**Diagnostic Category: `lint/nursery/noMissingVarFunction`**
<Tabs>
<TabItem label="CSS" icon="seti:css">
**Since**: `vnext`
**Since**: `v1.9.2`
:::caution
This rule is part of the [nursery](/linter/rules/#nursery) group.
:::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components';
**Diagnostic Category: `lint/nursery/useComponentExportOnlyModules`**
<Tabs>
<TabItem label="JSX and TSX" icon="seti:javascript">
**Since**: `vnext`
**Since**: `v1.9.2`
:::caution
This rule is part of the [nursery](/linter/rules/#nursery) group.
:::
Expand Down
Loading

0 comments on commit 7aaa155

Please sign in to comment.