diff --git a/biome.json b/biome.json index 31016231..567b34d4 100644 --- a/biome.json +++ b/biome.json @@ -7,9 +7,7 @@ "enabled": true, "rules": { "recommended": true, - "nursery": { - "noDuplicateJsonKeys": "error" - }, + "nursery": {}, "correctness": { "noUnusedImports": "error", "noUnusedPrivateClassMembers": "error" diff --git a/client/vscode/test/fixtures/workspace/Label.tsx b/client/vscode/test/fixtures/workspace/Label.tsx index 056fec23..102e713c 100644 --- a/client/vscode/test/fixtures/workspace/Label.tsx +++ b/client/vscode/test/fixtures/workspace/Label.tsx @@ -1,7 +1,7 @@ import type { FunctionComponent } from 'react' import { eventLogger } from './eventLogger.js' -export const Label: FunctionComponent<{ title: string }> = ({ title }) => { +export const Label: FunctionComponent<{ title: string; htmlFor?: string }> = ({ title, htmlFor }) => { eventLogger.log('Label', { title }) - return + return } diff --git a/lib/client/src/index.ts b/lib/client/src/index.ts index df102a16..356c3d79 100644 --- a/lib/client/src/index.ts +++ b/lib/client/src/index.ts @@ -9,9 +9,9 @@ export { type ClientEnv, type ProviderMethodOptions, } from './client/client.js' -export { - type ConfigurationUserInput as ClientConfiguration, - type ImportedProviderConfiguration, +export type { + ConfigurationUserInput as ClientConfiguration, + ImportedProviderConfiguration, } from './configuration.js' export type { Logger } from './logger.js' export { fetchProviderSource } from './providerClient/transport/module.js' diff --git a/package.json b/package.json index 008f3d46..1677d8c0 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "test:integration": "pnpm -C vscode test:integration" }, "devDependencies": { - "@biomejs/biome": "1.8.3", + "@biomejs/biome": "1.9.4", "@storybook/addon-essentials": "^7.6.7", "@storybook/html": "^7.6.7", "@storybook/html-vite": "^7.6.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index acda7df0..cbca1f2f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,8 +11,8 @@ importers: .: devDependencies: '@biomejs/biome': - specifier: 1.8.3 - version: 1.8.3 + specifier: 1.9.4 + version: 1.9.4 '@storybook/addon-essentials': specifier: ^7.6.7 version: 7.6.17(react-dom@18.2.0)(react@18.2.0) @@ -2524,24 +2524,24 @@ packages: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} dev: true - /@biomejs/biome@1.8.3: - resolution: {integrity: sha512-/uUV3MV+vyAczO+vKrPdOW0Iaet7UnJMU4bNMinggGJTAnBPjCoLEYcyYtYHNnUNYlv4xZMH6hVIQCAozq8d5w==} + /@biomejs/biome@1.9.4: + resolution: {integrity: sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==} engines: {node: '>=14.21.3'} hasBin: true requiresBuild: true optionalDependencies: - '@biomejs/cli-darwin-arm64': 1.8.3 - '@biomejs/cli-darwin-x64': 1.8.3 - '@biomejs/cli-linux-arm64': 1.8.3 - '@biomejs/cli-linux-arm64-musl': 1.8.3 - '@biomejs/cli-linux-x64': 1.8.3 - '@biomejs/cli-linux-x64-musl': 1.8.3 - '@biomejs/cli-win32-arm64': 1.8.3 - '@biomejs/cli-win32-x64': 1.8.3 - dev: true - - /@biomejs/cli-darwin-arm64@1.8.3: - resolution: {integrity: sha512-9DYOjclFpKrH/m1Oz75SSExR8VKvNSSsLnVIqdnKexj6NwmiMlKk94Wa1kZEdv6MCOHGHgyyoV57Cw8WzL5n3A==} + '@biomejs/cli-darwin-arm64': 1.9.4 + '@biomejs/cli-darwin-x64': 1.9.4 + '@biomejs/cli-linux-arm64': 1.9.4 + '@biomejs/cli-linux-arm64-musl': 1.9.4 + '@biomejs/cli-linux-x64': 1.9.4 + '@biomejs/cli-linux-x64-musl': 1.9.4 + '@biomejs/cli-win32-arm64': 1.9.4 + '@biomejs/cli-win32-x64': 1.9.4 + dev: true + + /@biomejs/cli-darwin-arm64@1.9.4: + resolution: {integrity: sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [darwin] @@ -2549,8 +2549,8 @@ packages: dev: true optional: true - /@biomejs/cli-darwin-x64@1.8.3: - resolution: {integrity: sha512-UeW44L/AtbmOF7KXLCoM+9PSgPo0IDcyEUfIoOXYeANaNXXf9mLUwV1GeF2OWjyic5zj6CnAJ9uzk2LT3v/wAw==} + /@biomejs/cli-darwin-x64@1.9.4: + resolution: {integrity: sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==} engines: {node: '>=14.21.3'} cpu: [x64] os: [darwin] @@ -2558,8 +2558,8 @@ packages: dev: true optional: true - /@biomejs/cli-linux-arm64-musl@1.8.3: - resolution: {integrity: sha512-9yjUfOFN7wrYsXt/T/gEWfvVxKlnh3yBpnScw98IF+oOeCYb5/b/+K7YNqKROV2i1DlMjg9g/EcN9wvj+NkMuQ==} + /@biomejs/cli-linux-arm64-musl@1.9.4: + resolution: {integrity: sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] @@ -2567,8 +2567,8 @@ packages: dev: true optional: true - /@biomejs/cli-linux-arm64@1.8.3: - resolution: {integrity: sha512-fed2ji8s+I/m8upWpTJGanqiJ0rnlHOK3DdxsyVLZQ8ClY6qLuPc9uehCREBifRJLl/iJyQpHIRufLDeotsPtw==} + /@biomejs/cli-linux-arm64@1.9.4: + resolution: {integrity: sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] @@ -2576,8 +2576,8 @@ packages: dev: true optional: true - /@biomejs/cli-linux-x64-musl@1.8.3: - resolution: {integrity: sha512-UHrGJX7PrKMKzPGoEsooKC9jXJMa28TUSMjcIlbDnIO4EAavCoVmNQaIuUSH0Ls2mpGMwUIf+aZJv657zfWWjA==} + /@biomejs/cli-linux-x64-musl@1.9.4: + resolution: {integrity: sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] @@ -2585,8 +2585,8 @@ packages: dev: true optional: true - /@biomejs/cli-linux-x64@1.8.3: - resolution: {integrity: sha512-I8G2QmuE1teISyT8ie1HXsjFRz9L1m5n83U1O6m30Kw+kPMPSKjag6QGUn+sXT8V+XWIZxFFBoTDEDZW2KPDDw==} + /@biomejs/cli-linux-x64@1.9.4: + resolution: {integrity: sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] @@ -2594,8 +2594,8 @@ packages: dev: true optional: true - /@biomejs/cli-win32-arm64@1.8.3: - resolution: {integrity: sha512-J+Hu9WvrBevfy06eU1Na0lpc7uR9tibm9maHynLIoAjLZpQU3IW+OKHUtyL8p6/3pT2Ju5t5emReeIS2SAxhkQ==} + /@biomejs/cli-win32-arm64@1.9.4: + resolution: {integrity: sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [win32] @@ -2603,8 +2603,8 @@ packages: dev: true optional: true - /@biomejs/cli-win32-x64@1.8.3: - resolution: {integrity: sha512-/PJ59vA1pnQeKahemaQf4Nyj7IKUvGQSc3Ze1uIGi+Wvr1xF7rGobSrAAG01T/gUDG21vkDsZYM03NAmPiVkqg==} + /@biomejs/cli-win32-x64@1.9.4: + resolution: {integrity: sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [win32]