From ddad777a59b43ba421d919676c0acf7ddc52dea4 Mon Sep 17 00:00:00 2001 From: Nayden Naydenov Date: Tue, 26 May 2026 17:24:34 +0300 Subject: [PATCH] chore: test biomejs for linting --- biome.json | 72 ++++++++++++++++++ eslint-biome-gaps.md | 41 ++++++++++ package.json | 5 +- packages/ai/.eslintignore | 13 ---- packages/ai/.eslintrc.cjs | 10 --- packages/ai/biome.json | 22 ++++++ packages/ai/package.json | 2 +- packages/base/.eslintignore | 24 ------ packages/base/.eslintrc.cjs | 10 --- packages/base/biome.json | 32 ++++++++ packages/base/package-scripts.cjs | 2 +- packages/base/package.json | 2 +- packages/compat/.eslintignore | 13 ---- packages/compat/.eslintrc.cjs | 3 - packages/compat/biome.json | 22 ++++++ packages/compat/package.json | 2 +- packages/fiori/.eslintignore | 14 ---- packages/fiori/.eslintrc.cjs | 10 --- packages/fiori/biome.json | 23 ++++++ packages/fiori/package.json | 2 +- packages/icons/.eslintignore | 1 - packages/icons/biome.json | 11 +++ packages/localization/.eslintignore | 6 -- packages/localization/.eslintrc.cjs | 3 - packages/localization/package-scripts.cjs | 2 +- packages/localization/package.json | 2 +- packages/main/.eslintignore | 14 ---- packages/main/.eslintrc.cjs | 10 --- packages/main/biome.json | 23 ++++++ packages/main/package.json | 2 +- packages/tools/components-package/nps.js | 4 +- yarn.lock | 92 +++++++++++++++++++++++ 32 files changed, 351 insertions(+), 143 deletions(-) create mode 100644 biome.json create mode 100644 eslint-biome-gaps.md delete mode 100644 packages/ai/.eslintignore delete mode 100644 packages/ai/.eslintrc.cjs create mode 100644 packages/ai/biome.json delete mode 100644 packages/base/.eslintignore delete mode 100644 packages/base/.eslintrc.cjs create mode 100644 packages/base/biome.json delete mode 100644 packages/compat/.eslintignore delete mode 100644 packages/compat/.eslintrc.cjs create mode 100644 packages/compat/biome.json delete mode 100644 packages/fiori/.eslintignore delete mode 100644 packages/fiori/.eslintrc.cjs create mode 100644 packages/fiori/biome.json delete mode 100644 packages/icons/.eslintignore create mode 100644 packages/icons/biome.json delete mode 100644 packages/localization/.eslintignore delete mode 100644 packages/localization/.eslintrc.cjs delete mode 100644 packages/main/.eslintignore delete mode 100644 packages/main/.eslintrc.cjs create mode 100644 packages/main/biome.json diff --git a/biome.json b/biome.json new file mode 100644 index 000000000000..f3d53cd46d5c --- /dev/null +++ b/biome.json @@ -0,0 +1,72 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json", + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true + }, + "files": { + "ignoreUnknown": false, + "includes": [ + "**", + "!packages/create-package/**", + "!packages/cypress-ct-ui5-webc/**", + "!packages/cypress-internal/**", + "!packages/icons-business-suite/**", + "!packages/icons-tnt/**", + "!packages/theming/**", + "!packages/tools/**", + "!packages/website/**", + "!packages/localization/**" + ] + }, + "formatter": { + "enabled": true, + "indentStyle": "tab" + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true, + "complexity": { + "noExtraBooleanCast": "error", + "noVoid": "error" + }, + "style": { + "noYodaExpression": "error", + "useBlockStatements": "error", + "noNestedTernary": "error", + "useImportType": "error", + "noNonNullAssertion": "off" + }, + "suspicious": { + "noAlert": "error", + "noConsole": "error", + "noSparseArray": "error", + "noEmptyBlockStatements": "off", + "noExplicitAny": "off", + "noEmptyInterface": "off" + } + } + }, + "javascript": { + "formatter": { + "quoteStyle": "double" + } + }, + "assist": { + "enabled": true, + "actions": { + "source": { + "organizeImports": "on" + } + } + }, + "overrides": [ + { + "includes": ["**/*.css"], + "formatter": { "enabled": false }, + "linter": { "enabled": false } + } + ] +} diff --git a/eslint-biome-gaps.md b/eslint-biome-gaps.md new file mode 100644 index 000000000000..cb28084823df --- /dev/null +++ b/eslint-biome-gaps.md @@ -0,0 +1,41 @@ +# ESLint Rules Without Biome Equivalent + +The following rules from `packages/tools/components-package/eslint.js` have no direct equivalent in Biome v2 and are not enforced after the ESLint → Biome migration. + +## Base Rules + +| ESLint Rule | Notes | +|---|---| +| `no-caller` | Disallows `arguments.caller`/`arguments.callee` — no Biome equivalent | +| `no-extend-native` | Disallows extending native prototypes — no Biome equivalent | +| `no-iterator` | Disallows `__iterator__` property — no Biome equivalent | +| `no-labels` | Disallows labeled statements — no Biome equivalent | +| `no-lone-blocks` | Disallows unnecessary block statements — no Biome equivalent | +| `no-new-func` | Disallows `new Function()` — no Biome equivalent | +| `no-new-wrappers` | Disallows `new String/Number/Boolean` — no Biome equivalent | +| `no-use-before-define` | Disallows use before declaration — no Biome equivalent | +| `no-array-constructor` | Disallows `new Array()` — no Biome equivalent | +| `no-new-object` | Disallows `new Object()` — no Biome equivalent | +| `camelcase` | Enforces camelCase naming — no Biome equivalent | +| `no-undef` | `correctness/noUndeclaredVariables` exists but excluded — too noisy without type info | +| `import/extensions: always` | Requires file extensions on imports — no Biome equivalent | +| `import/consistent-type-specifier-style` | Covered partially by `useImportType` but not identical | + +## TypeScript Override Rules (set to "off" in ESLint — rules that don't exist in Biome) + +| ESLint Rule | Notes | +|---|---| +| `@typescript-eslint/no-unsafe-member-access` | No Biome equivalent | +| `@typescript-eslint/no-floating-promises` | No Biome equivalent | +| `@typescript-eslint/no-unsafe-assignment` | No Biome equivalent | +| `@typescript-eslint/ban-ts-comment` | No Biome equivalent (`noBannedTypes` is unrelated) | +| `@typescript-eslint/no-unsafe-call` | No Biome equivalent | +| `@typescript-eslint/unbound-method` | No Biome equivalent | +| `@typescript-eslint/no-misused-promises` | No Biome equivalent | +| `lines-between-class-members` | Formatter/style rule — no Biome equivalent | + +## Custom Plugin Rules + +| ESLint Rule | Notes | +|---|---| +| `jsx-no-leaked-values/jsx-no-leaked-values` | Custom plugin for JSX leaked values — no Biome equivalent | diff --git a/package.json b/package.json index 30635a0c3fb8..4ad0afa8a389 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,7 @@ "ci:test:prepare": "yarn workspace @ui5/cypress-ct-ui5-webc build && yarn workspace @ui5/cypress-internal build", "ci:releasebuild": "npm-run-all --sequential generate ts generateProd generateAPI", "ci:lint": "npm-run-all --sequential generate lint", + "ci:testbuild": "npm-run-all --sequential generate ts generateProd bundle ci:test:prepare", "ci:deploy": "DEPLOY=true yarn ci:testbuild && yarn generateAPI && yarn workspace @ui5/webcomponents-website ci:build", "ci:deploy:nightly": "DEPLOY_NIGHTLY=true yarn ci:testbuild && yarn generateAPI && yarn workspace @ui5/webcomponents-website ci:build:nightly", @@ -58,8 +59,7 @@ "ci:test:fiori": "yarn workspace @ui5/webcomponents-fiori test:ssr && yarn workspace @ui5/webcomponents-fiori test:cypress", "ci:test:compat": "yarn workspace @ui5/webcomponents-compat test:ssr && yarn workspace @ui5/webcomponents-compat test:cypress", "ci:test:ai": "yarn workspace @ui5/webcomponents-ai test:ssr && yarn workspace @ui5/webcomponents-ai test", - "lint": "yarn workspaces foreach --all --parallel run lint", - "lint:scope": "yarn workspaces foreach --all --parallel run lint:scope", + "lint": "biome check .", "link-all": "yarn workspaces foreach --all --parallel run link", "unlink-all": "yarn workspaces foreach --all --parallel run unlink", "prepare": "husky install", @@ -67,6 +67,7 @@ "husky:pre-push": "npm-run-all --sequential husky:commit-msg" }, "devDependencies": { + "@biomejs/biome": "2.4.15", "@commitlint/cli": "^16.2.3", "@commitlint/config-conventional": "^16.2.1", "@semantic-release/github": "^11.0.0", diff --git a/packages/ai/.eslintignore b/packages/ai/.eslintignore deleted file mode 100644 index d8af1c7fe945..000000000000 --- a/packages/ai/.eslintignore +++ /dev/null @@ -1,13 +0,0 @@ -# Note: Changes to this file also must be applied to the top level .eslintignore file. -target -dist -src/generated -cypress/* -lib -test -bundle.*.js -rollup.config*.js -postcss.config.cjs -cypress.config.js -package-scripts.cjs -.eslintrc.cjs \ No newline at end of file diff --git a/packages/ai/.eslintrc.cjs b/packages/ai/.eslintrc.cjs deleted file mode 100644 index 29a3ed3ac4af..000000000000 --- a/packages/ai/.eslintrc.cjs +++ /dev/null @@ -1,10 +0,0 @@ -const config = require("@ui5/webcomponents-tools/components-package/eslint.js"); -const testConfig = require("@ui5/cypress-internal/eslint.cjs"); - -if (config.overrides) { - config.overrides.push(testConfig); -} else { - config.overrides = [testConfig]; -} - -module.exports = config; diff --git a/packages/ai/biome.json b/packages/ai/biome.json new file mode 100644 index 000000000000..52093f1d5b3a --- /dev/null +++ b/packages/ai/biome.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json", + "root": false, + "extends": ["../../biome.json"], + "files": { + "includes": [ + "**", + "!target/**", + "!dist/**", + "!src/generated/**", + "!cypress/**", + "!lib/**", + "!test/**", + "!bundle.*.js", + "!rollup.config*.js", + "!postcss.config.cjs", + "!cypress.config.js", + "!package-scripts.cjs", + "!.eslintrc.cjs" + ] + } +} diff --git a/packages/ai/package.json b/packages/ai/package.json index 26ec85cf041d..70a7736ef1af 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -16,7 +16,7 @@ ], "scripts": { "clean": "wc-dev clean", - "lint": "wc-dev lint", + "lint": "", "lint:scope": "wc-dev scope.lint", "start": "wc-dev start", "build": "wc-dev build", diff --git a/packages/base/.eslintignore b/packages/base/.eslintignore deleted file mode 100644 index 18aff07d8c4b..000000000000 --- a/packages/base/.eslintignore +++ /dev/null @@ -1,24 +0,0 @@ -# Note: Changes to this file also must be applied to the top level .eslintignore file. -test -lib -dist -src/generated -test/test-elements/generated -src/thirdparty -cypress/* -bundle.esm.js -bundle.es5.js -rollup.config*.js -cypress.config.js -postcss.config.cjs -package-scripts.cjs -.eslintrc.cjs -src/renderer/directives/style-map.js -src/util/metaUrl.js -src/ssr-dom* -index.js -src/jsx-runtime.ts -src/jsx-dev-runtime.ts -jsx-runtime.d.ts -jsx-dev-runtime.d.ts -jsx-utils.ts \ No newline at end of file diff --git a/packages/base/.eslintrc.cjs b/packages/base/.eslintrc.cjs deleted file mode 100644 index 29a3ed3ac4af..000000000000 --- a/packages/base/.eslintrc.cjs +++ /dev/null @@ -1,10 +0,0 @@ -const config = require("@ui5/webcomponents-tools/components-package/eslint.js"); -const testConfig = require("@ui5/cypress-internal/eslint.cjs"); - -if (config.overrides) { - config.overrides.push(testConfig); -} else { - config.overrides = [testConfig]; -} - -module.exports = config; diff --git a/packages/base/biome.json b/packages/base/biome.json new file mode 100644 index 000000000000..91dbb565e2fc --- /dev/null +++ b/packages/base/biome.json @@ -0,0 +1,32 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json", + "root": false, + "extends": ["../../biome.json"], + "files": { + "includes": [ + "**", + "!test/**", + "!lib/**", + "!dist/**", + "!src/generated/**", + "!src/thirdparty/**", + "!cypress/**", + "!bundle.esm.js", + "!bundle.es5.js", + "!rollup.config*.js", + "!cypress.config.js", + "!postcss.config.cjs", + "!package-scripts.cjs", + "!.eslintrc.cjs", + "!src/renderer/directives/style-map.js", + "!src/util/metaUrl.js", + "!src/ssr-dom*", + "!index.js", + "!src/jsx-runtime.ts", + "!src/jsx-dev-runtime.ts", + "!jsx-runtime.d.ts", + "!jsx-dev-runtime.d.ts", + "!jsx-utils.ts" + ] + } +} diff --git a/packages/base/package-scripts.cjs b/packages/base/package-scripts.cjs index 0e52cc499561..a3988a39fcde 100644 --- a/packages/base/package-scripts.cjs +++ b/packages/base/package-scripts.cjs @@ -24,7 +24,7 @@ const scripts = { "generated": `ui5nps-script "${LIB}/rimraf/rimraf.js src/generated`, "dist": `ui5nps-script "${LIB}/rimraf/rimraf.js dist`, }, - lint: `ui5nps-script "${LIB}/eslint/eslint.js"`, + lint: ``, generate: "ui5nps clean build.i18n integrate copy generateAssetParameters generateVersionInfo generateStyles generateFontFace build.jsonImports", prepare: "ui5nps clean build.i18n integrate copy generateAssetParameters generateVersionInfo generateStyles generateFontFace typescript integrate.no-remaining-require build.jsonImports", typescript: "tsc -b", diff --git a/packages/base/package.json b/packages/base/package.json index 42f614ae9143..f87e25f35aa4 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -44,7 +44,7 @@ "types": "./dist", "scripts": { "clean": "wc-dev clean", - "lint": "wc-dev lint", + "lint": "", "start": "wc-dev start", "build": "wc-dev build", "generate": "wc-dev generate", diff --git a/packages/compat/.eslintignore b/packages/compat/.eslintignore deleted file mode 100644 index d8af1c7fe945..000000000000 --- a/packages/compat/.eslintignore +++ /dev/null @@ -1,13 +0,0 @@ -# Note: Changes to this file also must be applied to the top level .eslintignore file. -target -dist -src/generated -cypress/* -lib -test -bundle.*.js -rollup.config*.js -postcss.config.cjs -cypress.config.js -package-scripts.cjs -.eslintrc.cjs \ No newline at end of file diff --git a/packages/compat/.eslintrc.cjs b/packages/compat/.eslintrc.cjs deleted file mode 100644 index 2d19042b2aba..000000000000 --- a/packages/compat/.eslintrc.cjs +++ /dev/null @@ -1,3 +0,0 @@ -const config = require("@ui5/webcomponents-tools/components-package/eslint.js"); - -module.exports = config; diff --git a/packages/compat/biome.json b/packages/compat/biome.json new file mode 100644 index 000000000000..52093f1d5b3a --- /dev/null +++ b/packages/compat/biome.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json", + "root": false, + "extends": ["../../biome.json"], + "files": { + "includes": [ + "**", + "!target/**", + "!dist/**", + "!src/generated/**", + "!cypress/**", + "!lib/**", + "!test/**", + "!bundle.*.js", + "!rollup.config*.js", + "!postcss.config.cjs", + "!cypress.config.js", + "!package-scripts.cjs", + "!.eslintrc.cjs" + ] + } +} diff --git a/packages/compat/package.json b/packages/compat/package.json index 571914576329..16a22980938c 100644 --- a/packages/compat/package.json +++ b/packages/compat/package.json @@ -16,7 +16,7 @@ ], "scripts": { "clean": "wc-dev clean", - "lint": "wc-dev lint", + "lint": "", "lint:scope": "wc-dev scope.lint", "start": "wc-dev start", "build": "wc-dev build", diff --git a/packages/fiori/.eslintignore b/packages/fiori/.eslintignore deleted file mode 100644 index c5619f1553d3..000000000000 --- a/packages/fiori/.eslintignore +++ /dev/null @@ -1,14 +0,0 @@ -# Note: Changes to this file also must be applied to the top level .eslintignore file. -target -dist -src/generated -cypress/* -lib -test -bundle.*.js -rollup.config*.js -cypress.config.js -postcss.config.cjs -package-scripts.cjs -src/illustrations/js-imports/illustrations.js -.eslintrc.cjs \ No newline at end of file diff --git a/packages/fiori/.eslintrc.cjs b/packages/fiori/.eslintrc.cjs deleted file mode 100644 index 29a3ed3ac4af..000000000000 --- a/packages/fiori/.eslintrc.cjs +++ /dev/null @@ -1,10 +0,0 @@ -const config = require("@ui5/webcomponents-tools/components-package/eslint.js"); -const testConfig = require("@ui5/cypress-internal/eslint.cjs"); - -if (config.overrides) { - config.overrides.push(testConfig); -} else { - config.overrides = [testConfig]; -} - -module.exports = config; diff --git a/packages/fiori/biome.json b/packages/fiori/biome.json new file mode 100644 index 000000000000..c84691dba8fd --- /dev/null +++ b/packages/fiori/biome.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json", + "root": false, + "extends": ["../../biome.json"], + "files": { + "includes": [ + "**", + "!target/**", + "!dist/**", + "!src/generated/**", + "!cypress/**", + "!lib/**", + "!test/**", + "!bundle.*.js", + "!rollup.config*.js", + "!cypress.config.js", + "!postcss.config.cjs", + "!package-scripts.cjs", + "!src/illustrations/js-imports/illustrations.js", + "!.eslintrc.cjs" + ] + } +} diff --git a/packages/fiori/package.json b/packages/fiori/package.json index d910be984b83..92e4ce608422 100644 --- a/packages/fiori/package.json +++ b/packages/fiori/package.json @@ -30,7 +30,7 @@ }, "scripts": { "clean": "wc-dev clean", - "lint": "wc-dev lint", + "lint": "", "lint:scope": "wc-dev scope.lint", "start": "wc-dev start", "watch": "wc-dev watch", diff --git a/packages/icons/.eslintignore b/packages/icons/.eslintignore deleted file mode 100644 index 80697f2272d5..000000000000 --- a/packages/icons/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -src/generated \ No newline at end of file diff --git a/packages/icons/biome.json b/packages/icons/biome.json new file mode 100644 index 000000000000..7f62b49c1e8f --- /dev/null +++ b/packages/icons/biome.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json", + "root": false, + "extends": ["../../biome.json"], + "files": { + "includes": [ + "**", + "!src/generated/**" + ] + } +} diff --git a/packages/localization/.eslintignore b/packages/localization/.eslintignore deleted file mode 100644 index 3217165b697b..000000000000 --- a/packages/localization/.eslintignore +++ /dev/null @@ -1,6 +0,0 @@ -dist -lib -overlay -package-scripts.js -.eslintrc.cjs -src/generated diff --git a/packages/localization/.eslintrc.cjs b/packages/localization/.eslintrc.cjs deleted file mode 100644 index 2d19042b2aba..000000000000 --- a/packages/localization/.eslintrc.cjs +++ /dev/null @@ -1,3 +0,0 @@ -const config = require("@ui5/webcomponents-tools/components-package/eslint.js"); - -module.exports = config; diff --git a/packages/localization/package-scripts.cjs b/packages/localization/package-scripts.cjs index 00763db8ff49..2462177fbc53 100644 --- a/packages/localization/package-scripts.cjs +++ b/packages/localization/package-scripts.cjs @@ -13,7 +13,7 @@ const scripts = { "generated": `ui5nps-script "${LIB}/rimraf/rimraf.js src/generated`, "dist": `ui5nps-script "${LIB}/rimraf/rimraf.js dist`, }, - lint: `ui5nps-script "${LIB}eslint/eslint.js"`, + lint: ``, generate: "ui5nps clean copy.used-modules copy.cldr copy.overlay build.amd-to-es6 build.jsonImports", build: { "default": "ui5nps clean copy.used-modules copy.cldr copy.overlay build.amd-to-es6 build.jsonImports build.typescript build.no-remaining-require", diff --git a/packages/localization/package.json b/packages/localization/package.json index 36861f23f384..cdb05f238301 100644 --- a/packages/localization/package.json +++ b/packages/localization/package.json @@ -22,7 +22,7 @@ }, "scripts": { "clean": "wc-dev clean", - "lint": "wc-dev lint", + "lint": "", "start": "wc-dev start", "build": "wc-dev build", "generate": "wc-dev generate", diff --git a/packages/main/.eslintignore b/packages/main/.eslintignore deleted file mode 100644 index 4f782d48b503..000000000000 --- a/packages/main/.eslintignore +++ /dev/null @@ -1,14 +0,0 @@ -# Note: Changes to this file also must be applied to the top level .eslintignore file. -target -dist -src/generated -cypress/* -lib -test -bundle.*.js -rollup.config*.js -cypress.config.js -postcss.config.cjs -package-scripts.cjs -.eslintrc.cjs -vitest.config.js diff --git a/packages/main/.eslintrc.cjs b/packages/main/.eslintrc.cjs deleted file mode 100644 index 29a3ed3ac4af..000000000000 --- a/packages/main/.eslintrc.cjs +++ /dev/null @@ -1,10 +0,0 @@ -const config = require("@ui5/webcomponents-tools/components-package/eslint.js"); -const testConfig = require("@ui5/cypress-internal/eslint.cjs"); - -if (config.overrides) { - config.overrides.push(testConfig); -} else { - config.overrides = [testConfig]; -} - -module.exports = config; diff --git a/packages/main/biome.json b/packages/main/biome.json new file mode 100644 index 000000000000..0094ced0148f --- /dev/null +++ b/packages/main/biome.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json", + "root": false, + "extends": ["../../biome.json"], + "files": { + "includes": [ + "**", + "!target/**", + "!dist/**", + "!src/generated/**", + "!cypress/**", + "!lib/**", + "!test/**", + "!bundle.*.js", + "!rollup.config*.js", + "!cypress.config.js", + "!postcss.config.cjs", + "!package-scripts.cjs", + "!.eslintrc.cjs", + "!vitest.config.js" + ] + } +} diff --git a/packages/main/package.json b/packages/main/package.json index 325407762200..8a531c14eaec 100644 --- a/packages/main/package.json +++ b/packages/main/package.json @@ -16,7 +16,7 @@ ], "scripts": { "clean": "wc-dev clean", - "lint": "wc-dev lint", + "lint": "", "lint:scope": "wc-dev scope.lint", "start": "wc-dev start", "watch": "wc-dev watch", diff --git a/packages/tools/components-package/nps.js b/packages/tools/components-package/nps.js index fd584c46b159..a01ca5e61f8f 100644 --- a/packages/tools/components-package/nps.js +++ b/packages/tools/components-package/nps.js @@ -89,8 +89,8 @@ const getScripts = (options) => { "generated": `ui5nps-script "${LIB}/rimraf/rimraf.js src/generated`, "dist": `ui5nps-script "${LIB}/rimraf/rimraf.js dist`, }, - lint: `ui5nps-script "${LIB}eslint/eslint.js"`, - lintfix: `ui5nps-script "${LIB}eslint/eslint.js" --fix`, + lint: standalone ? `ui5nps-script "${LIB}eslint/eslint.js"` : "", + lintfix: standalone ? `ui5nps-script "${LIB}eslint/eslint.js" --fix` : "", generate: { default: `ui5nps prepare.all`, all: `ui5nps-p build.templates build.i18n prepare.styleRelated copyProps build.illustrations`, // concurently diff --git a/yarn.lock b/yarn.lock index 823c595ee52b..3eb8acd43f14 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2338,6 +2338,97 @@ __metadata: languageName: node linkType: hard +"@biomejs/biome@npm:2.4.15": + version: 2.4.15 + resolution: "@biomejs/biome@npm:2.4.15" + dependencies: + "@biomejs/cli-darwin-arm64": "npm:2.4.15" + "@biomejs/cli-darwin-x64": "npm:2.4.15" + "@biomejs/cli-linux-arm64": "npm:2.4.15" + "@biomejs/cli-linux-arm64-musl": "npm:2.4.15" + "@biomejs/cli-linux-x64": "npm:2.4.15" + "@biomejs/cli-linux-x64-musl": "npm:2.4.15" + "@biomejs/cli-win32-arm64": "npm:2.4.15" + "@biomejs/cli-win32-x64": "npm:2.4.15" + dependenciesMeta: + "@biomejs/cli-darwin-arm64": + optional: true + "@biomejs/cli-darwin-x64": + optional: true + "@biomejs/cli-linux-arm64": + optional: true + "@biomejs/cli-linux-arm64-musl": + optional: true + "@biomejs/cli-linux-x64": + optional: true + "@biomejs/cli-linux-x64-musl": + optional: true + "@biomejs/cli-win32-arm64": + optional: true + "@biomejs/cli-win32-x64": + optional: true + bin: + biome: bin/biome + checksum: 10c0/46ac114b97f00e5fe0d22590337c80c7a2467d2aabf57d7f99b92356fd01cf76bb7d972782508e0f51c34e08a1a7f8e9eefec6fe72aa7b5f53b9161b7fe582e2 + languageName: node + linkType: hard + +"@biomejs/cli-darwin-arm64@npm:2.4.15": + version: 2.4.15 + resolution: "@biomejs/cli-darwin-arm64@npm:2.4.15" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@biomejs/cli-darwin-x64@npm:2.4.15": + version: 2.4.15 + resolution: "@biomejs/cli-darwin-x64@npm:2.4.15" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@biomejs/cli-linux-arm64-musl@npm:2.4.15": + version: 2.4.15 + resolution: "@biomejs/cli-linux-arm64-musl@npm:2.4.15" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@biomejs/cli-linux-arm64@npm:2.4.15": + version: 2.4.15 + resolution: "@biomejs/cli-linux-arm64@npm:2.4.15" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@biomejs/cli-linux-x64-musl@npm:2.4.15": + version: 2.4.15 + resolution: "@biomejs/cli-linux-x64-musl@npm:2.4.15" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@biomejs/cli-linux-x64@npm:2.4.15": + version: 2.4.15 + resolution: "@biomejs/cli-linux-x64@npm:2.4.15" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@biomejs/cli-win32-arm64@npm:2.4.15": + version: 2.4.15 + resolution: "@biomejs/cli-win32-arm64@npm:2.4.15" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@biomejs/cli-win32-x64@npm:2.4.15": + version: 2.4.15 + resolution: "@biomejs/cli-win32-x64@npm:2.4.15" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@colors/colors@npm:1.5.0": version: 1.5.0 resolution: "@colors/colors@npm:1.5.0" @@ -23990,6 +24081,7 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: + "@biomejs/biome": "npm:2.4.15" "@commitlint/cli": "npm:^16.2.3" "@commitlint/config-conventional": "npm:^16.2.1" "@semantic-release/github": "npm:^11.0.0"