Skip to content

Commit 77707a0

Browse files
authored
Update to Biome v1.9.4 (#2745)
1 parent cd403d9 commit 77707a0

File tree

8 files changed

+100
-81
lines changed

8 files changed

+100
-81
lines changed

.storybook/components/Statuses.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.description {
2-
margin-left: var(--cui-spacings-byte)
2+
margin-left: var(--cui-spacings-byte);
33
}
44

55
.description p {

.storybook/components/Teaser.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
.base h2 {
2121
padding: 0;
2222
margin-bottom: var(--cui-spacings-giga);
23-
border: none
23+
border: none;
2424
}
2525

2626
.base p {
2727
margin-top: 0;
2828
}
2929

3030
.base a::after {
31-
content: ' →';
31+
content: " →";
3232
}

biome.jsonc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.2/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
33
"extends": ["@sumup-oss/foundry/biome"],
44
"files": {
55
"ignore": [
@@ -30,9 +30,18 @@
3030
"organizeImports": {
3131
"enabled": false
3232
},
33+
"css": {
34+
"formatter": {
35+
"enabled": false
36+
}
37+
},
3338
"linter": {
3439
"rules": {
3540
"recommended": true,
41+
"a11y": {
42+
"noRedundantRoles": "warn",
43+
"useSemanticElements": "warn"
44+
},
3645
"style": {
3746
"noDefaultExport": "error",
3847
"useFilenamingConvention": {
@@ -60,7 +69,6 @@
6069
"include": ["*.css"],
6170
"css": {
6271
"formatter": {
63-
"enabled": true,
6472
"indentStyle": "space",
6573
"quoteStyle": "double"
6674
},

package-lock.json

Lines changed: 80 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "circuit-ui-web",
33
"description": "The web implementation of Circuit UI, SumUp's design system",
44
"private": true,
5-
"workspaces": ["packages/*", "templates/*", "templates/nextjs/template"],
5+
"workspaces": [ "packages/*", "templates/*", "templates/nextjs/template"],
66
"repository": {
77
"type": "git",
88
"url": "git+https://github.com/sumup-oss/circuit-ui.git"
@@ -20,8 +20,8 @@
2020
"build": "lerna run build",
2121
"test": "vitest",
2222
"test:ci": "vitest run --coverage",
23-
"lint": "biome check && foundry run eslint . --ext .js,.jsx,.ts,.tsx",
24-
"lint:fix": "biome check --write && foundry run eslint . --ext .js,.jsx,.ts,.tsx --fix",
23+
"lint": "biome check --diagnostic-level=error && foundry run eslint . --ext .js,.jsx,.ts,.tsx",
24+
"lint:fix": "biome check --write --diagnostic-level=error && foundry run eslint . --ext .js,.jsx,.ts,.tsx --fix",
2525
"lint:ci": "biome ci && foundry run eslint . --ext .js,.jsx,.ts,.tsx --quiet ",
2626
"lint:css": "foundry run stylelint '**/*.css'",
2727
"lint:css:fix": "foundry run stylelint '**/*.css' --fix",
@@ -36,7 +36,7 @@
3636
"release": "changeset publish"
3737
},
3838
"devDependencies": {
39-
"@biomejs/biome": "1.8.3",
39+
"@biomejs/biome": "1.9.4",
4040
"@changesets/changelog-github": "^0.5.0",
4141
"@changesets/cli": "^2.27.8",
4242
"@emotion/eslint-plugin": "^11.12.0",

packages/circuit-ui/components/Field/Field.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export const FieldLabel = ({
8080
htmlFor,
8181
...props
8282
}: FieldLabelProps) => (
83+
// biome-ignore lint/a11y/noLabelWithoutControl: The control is rendered separately
8384
<label
8485
{...props}
8586
htmlFor={htmlFor}

0 commit comments

Comments
 (0)