diff --git a/biome.jsonc b/biome.jsonc index 77b79ae026..27a70675fb 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -1,21 +1,20 @@ { - "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", + "$schema": "https://biomejs.dev/schemas/2.3.1/schema.json", "files": { - "ignore": [ - "node_modules/**", - "jsapp/compiled/**", - "*.css", - // Ignore generated OpenAPI schema. - "static/openapi/*", - // Ignore minified committed JS files. - "*.min.js", - "*-min.js", - "bootstrap*.js", - "jquery*.js", - "kobo/apps/openrosa/apps/logger/fixtures/*", - "kpi/static/js/swagger/swagger-ui-bundle.js", - "kpi/static/js/swagger/swagger-ui-standalone-preset.js", - "msw-mocks/*" + "includes": [ + "**", + "!**/node_modules", + "!**/jsapp/compiled", + "!**/*.css", + "!**/static/openapi/**/*", + "!**/*.min.js", + "!**/*-min.js", + "!**/bootstrap*.js", + "!**/jquery*.js", + "!**/kobo/apps/openrosa/apps/logger/fixtures/**/*", + "!**/kpi/static/js/swagger/swagger-ui-bundle.js", + "!**/kpi/static/js/swagger/swagger-ui-standalone-preset.js", + "!**/msw-mocks/**/*" ] }, "vcs": { @@ -26,7 +25,7 @@ "formatter": { "enabled": true, // Default. "formatWithErrors": false, // Default. - "ignore": [], // Default. + "includes": ["**"], // Default. "attributePosition": "auto", // Default. "indentStyle": "space", // Default is tab, we use space due imho the real standard. "indentWidth": 2, // Default. @@ -47,8 +46,42 @@ "quoteStyle": "single" // Default is double, we use single for a cleaner look. } }, - "organizeImports": { - "enabled": true + // TODO: trying to restore the old behaviour of organizing imports: + // https://biomejs.dev/guides/upgrade-to-biome-v2/#the-import-organizer-sorts-the-imports-differently + "assist": { + "actions": { + "source": { + "organizeImports": { + "level": "on", + "options": { + "groups": [ + // TODO adjustment to fit current code, not present in migration guide + "react", + ":BLANK_LINE:", + + // Bun modules + ":BUN:", + // Node.js modules + ":NODE:", + // Modules imported with the `npm:` protocol + ["npm:*", "npm:*/**"], + // Modules imported with another protocol. e.g. `jsr:` + ":PACKAGE_WITH_PROTOCOL:", + // URLs + ":URL:", + // Libraries + ":PACKAGE:", + // Absolute paths + ["/**"], + // Sharp aliases + ["#*", "#*/**"], + // All other paths + ":PATH:" + ] + } + } + } + } }, "linter": { "enabled": true, @@ -59,11 +92,18 @@ "noEmptyPattern": "off", // Recommended rule. TODO: review 5 cases and enable. "noInnerDeclarations": "off", // Recommended rule. TODO: review 22 cases and enable. "noInvalidUseBeforeDeclaration": "off", // Recommended rule. TODO: review 2 cases and enable. + "noNestedComponentDefinitions": "off", // Recommended rule. TODO: review 14 cases and enable. "noSwitchDeclarations": "off", // Recommended rule. TODO: review 2 cases and enable. "noUnsafeOptionalChaining": "off", // Recommended rule. TODO: review 2 cases and enable. + "noUnusedFunctionParameters": "off", // Recommended rule. TODO: review 28 cases and enable. "noUnusedImports": "error", // Enable all safely fixable rules. + "noUnusedVariables": "off", // Recommended rule. TODO: review 67 cases and enable. "useExhaustiveDependencies": "off", // Recommended rule. TODO: review 101 cases and enable. - "useJsxKeyInIterable": "off" // Recommended rule. TODO: review 17 cases and enable. + "useHookAtTopLevel": "off", // Recommended rule. TODO: review 26 cases and enable. + "useJsxKeyInIterable": "off", // Recommended rule. TODO: review 17 cases and enable. + "useParseIntRadix": "off", // Recommended rule. TODO: review 25 cases and enable. + "useUniqueElementIds": "off", // Recommended rule. TODO: review 15 cases and enable. + "useValidTypeof": "off" // Recommended rule. TODO: review 3 cases and enable. }, "suspicious": { "noArrayIndexKey": "off", // Recommended rule. TODO: review 40 cases and enable. @@ -78,34 +118,42 @@ "noRedeclare": "off", // Recommended rule. TODO: review 1 case and enable. "noShadowRestrictedNames": "off", // Recommended rule. TODO: review 2 cases and enable. "useIsArray": "off", // Recommended rule. TODO: review 3 cases and enable. - "useValidTypeof": "off" // Recommended rule. TODO: review 3 cases and enable. + "useIterableCallbackReturn": "off", // Recommended rule. TODO: review 25 cases and enable. + "noVar": "off" }, "security": { - "noDangerouslySetInnerHtml": "off" // Recommended rule. TODO: review 11 cases and enable. + "noDangerouslySetInnerHtml": "off", // Recommended rule. TODO: review 11 cases and enable. + "noBlankTarget": "off" }, "complexity": { "noBannedTypes": "off", // Recommended rule. TODO: review 144 cases and enable. "noExtraBooleanCast": "off", // Recommended rule. TODO: review 3 cases and enable. "noForEach": "off", // Recommended rule. TODO: review 217 cases and enable. "noUselessConstructor": "off", // Recommended rule. TODO: review 1 cases and enable. + "noUselessEscapeInRegex": "off", // Recommended rule. TODO: review 3 cases and enable. "noUselessFragments": "off", // Recommended rule. TODO: review 4 cases and enable. "noUselessSwitchCase": "off", // Recommended rule. TODO: review 2 cases and enable. "noUselessTernary": "off", // Recommended rule. TODO: review 4 cases and enable. "noUselessUndefinedInitialization": "error", // Enable all safely fixable rules. + "useDateNow": "off", // Recommended rule. TODO: review 1 cases and enable. + "useIndexOf": "off", // Recommended rule. TODO: review 1 cases and enable. "useLiteralKeys": "off", // Recommended rule. TODO: review 28 cases and enable. - "useOptionalChain": "off" // Recommended rule. TODO: review 36 cases and enable. + "useOptionalChain": "off", // Recommended rule. TODO: review 36 cases and enable. + "noArguments": "off", + "noCommaOperator": "off", + "useWhile": "error" // Enable all safely fixable rules. }, "performance": { "noAccumulatingSpread": "off", // Recommended rule. TODO: review 7 cases and enable. "noDelete": "off" // Recommended rule. TODO: review 17 cases and enable. }, "a11y": { - "noBlankTarget": "off", // Not a problem for modern browsers; see 2021 update, see https://mathiasbynens.github.io/rel-noopener/#recommendations. "noLabelWithoutControl": "off", // Recommended rule. TODO: review 63 cases and enable. "noNoninteractiveTabindex": "off", // Recommended rule. TODO: review 1 cases and enable. "noPositiveTabindex": "off", // Recommended rule. TODO: review 1 cases and enable. "noSvgWithoutTitle": "off", // Recommended rule. TODO: review 1 cases and enable. "useAltText": "off", // Recommended rule. TODO: review 1 cases and enable. + "useAriaPropsSupportedByRole": "off", // Recommended rule. TODO: review 1 cases and enable. "useAriaPropsForRole": "off", // Recommended rule. TODO: review 1 cases and enable. "useButtonType": "off", // Recommended rule. TODO: review 31 cases and enable. "useFocusableInteractive": "off", // Recommended rule. TODO: review 2 cases and enable. @@ -114,11 +162,10 @@ "useKeyWithMouseEvents": "off", // Recommended rule. TODO: review 1 cases and enable. "useMediaCaption": "off", // Recommended rule. TODO: review 3 cases and enable. "useSemanticElements": "off", // Recommended rule. TODO: review 5 cases and enable. + "noStaticElementInteractions": "off", // Recommended rule. TODO: review 20 cases and enable. "useValidAnchor": "off" // Recommended rule. TODO: review 4 cases and enable. }, "style": { - "noArguments": "off", // Recommended rule. TODO: review 6 cases and enable. - "noCommaOperator": "off", // Recommended rule. TODO: review 7 cases and enable. "noImplicitBoolean": "off", // Enable all safely fixable rules, except this for a cleaner look. "noInferrableTypes": "error", // Enable all safely fixable rules. "noNegationElse": "error", // Enable all safely fixable rules. @@ -126,7 +173,6 @@ "noParameterAssign": "off", // Recommended rule. TODO: review 31 cases and enable. "noUnusedTemplateLiteral": "off", // Recommended rule. TODO: review 5 cases and enable. "noUselessElse": "off", // Recommended rule. TODO: review 167 cases and enable. - "noVar": "off", // Recommended rule. TODO: review 234 cases and enable. "noYodaExpression": "error", // Enable all safely fixable rules. "useAsConstAssertion": "error", // Enable all safely fixable rules. "useCollapsedElseIf": "error", // Enable all safely fixable rules. @@ -137,8 +183,7 @@ "useNodejsImportProtocol": "off", // Recommended rule. TODO: review 3 cases and enable. "useSelfClosingElements": "error", // Enable all safely fixable rules. "useSingleVarDeclarator": "off", // Recommended rule. TODO: review 35 cases and enable. - "useTemplate": "off", // Recommended rule. TODO: review 103 cases and enable. - "useWhile": "error" // Enable all safely fixable rules. + "useTemplate": "off" // Recommended rule. TODO: review 103 cases and enable. } } } diff --git a/package-lock.json b/package-lock.json index fd350df5e2..6955ea83b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -87,7 +87,7 @@ }, "devDependencies": { "@babel/preset-env": "^7.22.5", - "@biomejs/biome": "^1.9.4", + "@biomejs/biome": "^2.3.1", "@eslint/compat": "^1.2.4", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.17.0", @@ -2104,11 +2104,10 @@ "license": "MIT" }, "node_modules/@biomejs/biome": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-1.9.4.tgz", - "integrity": "sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.3.1.tgz", + "integrity": "sha512-A29evf1R72V5bo4o2EPxYMm5mtyGvzp2g+biZvRFx29nWebGyyeOSsDWGx3tuNNMFRepGwxmA9ZQ15mzfabK2w==", "dev": true, - "hasInstallScript": true, "license": "MIT OR Apache-2.0", "bin": { "biome": "bin/biome" @@ -2121,20 +2120,20 @@ "url": "https://opencollective.com/biome" }, "optionalDependencies": { - "@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" + "@biomejs/cli-darwin-arm64": "2.3.1", + "@biomejs/cli-darwin-x64": "2.3.1", + "@biomejs/cli-linux-arm64": "2.3.1", + "@biomejs/cli-linux-arm64-musl": "2.3.1", + "@biomejs/cli-linux-x64": "2.3.1", + "@biomejs/cli-linux-x64-musl": "2.3.1", + "@biomejs/cli-win32-arm64": "2.3.1", + "@biomejs/cli-win32-x64": "2.3.1" } }, "node_modules/@biomejs/cli-darwin-arm64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.9.4.tgz", - "integrity": "sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.3.1.tgz", + "integrity": "sha512-ombSf3MnTUueiYGN1SeI9tBCsDUhpWzOwS63Dove42osNh0PfE1cUtHFx6eZ1+MYCCLwXzlFlYFdrJ+U7h6LcA==", "cpu": [ "arm64" ], @@ -2149,9 +2148,9 @@ } }, "node_modules/@biomejs/cli-darwin-x64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.9.4.tgz", - "integrity": "sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.3.1.tgz", + "integrity": "sha512-pcOfwyoQkrkbGvXxRvZNe5qgD797IowpJPovPX5biPk2FwMEV+INZqfCaz4G5bVq9hYnjwhRMamg11U4QsRXrQ==", "cpu": [ "x64" ], @@ -2166,9 +2165,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.9.4.tgz", - "integrity": "sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.3.1.tgz", + "integrity": "sha512-td5O8pFIgLs8H1sAZsD6v+5quODihyEw4nv2R8z7swUfIK1FKk+15e4eiYVLcAE4jUqngvh4j3JCNgg0Y4o4IQ==", "cpu": [ "arm64" ], @@ -2183,9 +2182,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64-musl": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.9.4.tgz", - "integrity": "sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.3.1.tgz", + "integrity": "sha512-+DZYv8l7FlUtTrWs1Tdt1KcNCAmRO87PyOnxKGunbWm5HKg1oZBSbIIPkjrCtDZaeqSG1DiGx7qF+CPsquQRcg==", "cpu": [ "arm64" ], @@ -2200,9 +2199,9 @@ } }, "node_modules/@biomejs/cli-linux-x64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-1.9.4.tgz", - "integrity": "sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.3.1.tgz", + "integrity": "sha512-PYWgEO7up7XYwSAArOpzsVCiqxBCXy53gsReAb1kKYIyXaoAlhBaBMvxR/k2Rm9aTuZ662locXUmPk/Aj+Xu+Q==", "cpu": [ "x64" ], @@ -2217,9 +2216,9 @@ } }, "node_modules/@biomejs/cli-linux-x64-musl": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-1.9.4.tgz", - "integrity": "sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.3.1.tgz", + "integrity": "sha512-Y3Ob4nqgv38Mh+6EGHltuN+Cq8aj/gyMTJYzkFZV2AEj+9XzoXB9VNljz9pjfFNHUxvLEV4b55VWyxozQTBaUQ==", "cpu": [ "x64" ], @@ -2234,9 +2233,9 @@ } }, "node_modules/@biomejs/cli-win32-arm64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.9.4.tgz", - "integrity": "sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.3.1.tgz", + "integrity": "sha512-RHIG/zgo+69idUqVvV3n8+j58dKYABRpMyDmfWu2TITC+jwGPiEaT0Q3RKD+kQHiS80mpBrST0iUGeEXT0bU9A==", "cpu": [ "arm64" ], @@ -2251,9 +2250,9 @@ } }, "node_modules/@biomejs/cli-win32-x64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-1.9.4.tgz", - "integrity": "sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.3.1.tgz", + "integrity": "sha512-izl30JJ5Dp10mi90Eko47zhxE6pYyWPcnX1NQxKpL/yMhXxf95oLTzfpu4q+MDBh/gemNqyJEwjBpe0MT5iWPA==", "cpu": [ "x64" ], @@ -31820,74 +31819,74 @@ "dev": true }, "@biomejs/biome": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-1.9.4.tgz", - "integrity": "sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.3.1.tgz", + "integrity": "sha512-A29evf1R72V5bo4o2EPxYMm5mtyGvzp2g+biZvRFx29nWebGyyeOSsDWGx3tuNNMFRepGwxmA9ZQ15mzfabK2w==", "dev": true, "requires": { - "@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" + "@biomejs/cli-darwin-arm64": "2.3.1", + "@biomejs/cli-darwin-x64": "2.3.1", + "@biomejs/cli-linux-arm64": "2.3.1", + "@biomejs/cli-linux-arm64-musl": "2.3.1", + "@biomejs/cli-linux-x64": "2.3.1", + "@biomejs/cli-linux-x64-musl": "2.3.1", + "@biomejs/cli-win32-arm64": "2.3.1", + "@biomejs/cli-win32-x64": "2.3.1" } }, "@biomejs/cli-darwin-arm64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.9.4.tgz", - "integrity": "sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.3.1.tgz", + "integrity": "sha512-ombSf3MnTUueiYGN1SeI9tBCsDUhpWzOwS63Dove42osNh0PfE1cUtHFx6eZ1+MYCCLwXzlFlYFdrJ+U7h6LcA==", "dev": true, "optional": true }, "@biomejs/cli-darwin-x64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.9.4.tgz", - "integrity": "sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.3.1.tgz", + "integrity": "sha512-pcOfwyoQkrkbGvXxRvZNe5qgD797IowpJPovPX5biPk2FwMEV+INZqfCaz4G5bVq9hYnjwhRMamg11U4QsRXrQ==", "dev": true, "optional": true }, "@biomejs/cli-linux-arm64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.9.4.tgz", - "integrity": "sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.3.1.tgz", + "integrity": "sha512-td5O8pFIgLs8H1sAZsD6v+5quODihyEw4nv2R8z7swUfIK1FKk+15e4eiYVLcAE4jUqngvh4j3JCNgg0Y4o4IQ==", "dev": true, "optional": true }, "@biomejs/cli-linux-arm64-musl": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.9.4.tgz", - "integrity": "sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.3.1.tgz", + "integrity": "sha512-+DZYv8l7FlUtTrWs1Tdt1KcNCAmRO87PyOnxKGunbWm5HKg1oZBSbIIPkjrCtDZaeqSG1DiGx7qF+CPsquQRcg==", "dev": true, "optional": true }, "@biomejs/cli-linux-x64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-1.9.4.tgz", - "integrity": "sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.3.1.tgz", + "integrity": "sha512-PYWgEO7up7XYwSAArOpzsVCiqxBCXy53gsReAb1kKYIyXaoAlhBaBMvxR/k2Rm9aTuZ662locXUmPk/Aj+Xu+Q==", "dev": true, "optional": true }, "@biomejs/cli-linux-x64-musl": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-1.9.4.tgz", - "integrity": "sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.3.1.tgz", + "integrity": "sha512-Y3Ob4nqgv38Mh+6EGHltuN+Cq8aj/gyMTJYzkFZV2AEj+9XzoXB9VNljz9pjfFNHUxvLEV4b55VWyxozQTBaUQ==", "dev": true, "optional": true }, "@biomejs/cli-win32-arm64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.9.4.tgz", - "integrity": "sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.3.1.tgz", + "integrity": "sha512-RHIG/zgo+69idUqVvV3n8+j58dKYABRpMyDmfWu2TITC+jwGPiEaT0Q3RKD+kQHiS80mpBrST0iUGeEXT0bU9A==", "dev": true, "optional": true }, "@biomejs/cli-win32-x64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-1.9.4.tgz", - "integrity": "sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.3.1.tgz", + "integrity": "sha512-izl30JJ5Dp10mi90Eko47zhxE6pYyWPcnX1NQxKpL/yMhXxf95oLTzfpu4q+MDBh/gemNqyJEwjBpe0MT5iWPA==", "dev": true, "optional": true }, diff --git a/package.json b/package.json index 4088e49829..73632aa952 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ }, "devDependencies": { "@babel/preset-env": "^7.22.5", - "@biomejs/biome": "^1.9.4", + "@biomejs/biome": "^2.3.1", "@eslint/compat": "^1.2.4", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.17.0",