diff --git a/biome.json b/biome.json index 82d64a750d0a..479b71f1bcee 100644 --- a/biome.json +++ b/biome.json @@ -13,15 +13,10 @@ "_fonts/**", "packages/@biomejs/wasm-*" ], - "include": [ - "packages/@biomejs/**", - "packages/tailwindcss-config-analyzer" - ] + "include": ["packages/@biomejs/**", "packages/tailwindcss-config-analyzer"] }, "formatter": { - "ignore": [ - "configuration_schema.json" - ] + "ignore": ["configuration_schema.json"] }, "json": { "formatter": { @@ -44,5 +39,15 @@ }, "organizeImports": { "enabled": true - } + }, + "overrides": [ + { + "include": ["package.json"], + "json": { + "formatter": { + "lineWidth": 1 + } + } + } + ] } diff --git a/package.json b/package.json index 351ab757f442..12051770cc47 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,9 @@ "version": "0.0.0", "private": true, "scripts": { - "check:apply": "cargo biome-cli-dev check --apply-unsafe .", - "check": "cargo biome-cli-dev check .", - "ci": "cargo biome-cli-dev ci ." + "check:apply": "cargo biome-cli-dev check --write --unsafe", + "check": "cargo biome-cli-dev check", + "ci": "cargo biome-cli-dev ci" }, "keywords": [], "author": "Biome Developers and Contributors", diff --git a/packages/@biomejs/backend-jsonrpc/package.json b/packages/@biomejs/backend-jsonrpc/package.json index 970fa4f48a38..0bbe563a457a 100644 --- a/packages/@biomejs/backend-jsonrpc/package.json +++ b/packages/@biomejs/backend-jsonrpc/package.json @@ -24,7 +24,13 @@ "author": "Biome Developers and Contributors", "bugs": "https://github.com/biomejs/biome/issues", "description": "Bindings to the JSON-RPC Workspace API of the Biome daemon", - "keywords": ["JavaScript", "TypeScript", "format", "lint", "toolchain"], + "keywords": [ + "JavaScript", + "TypeScript", + "format", + "lint", + "toolchain" + ], "engines": { "node": ">=14.21.3" }, diff --git a/packages/@biomejs/cli-darwin-arm64/package.json b/packages/@biomejs/cli-darwin-arm64/package.json index a7dbd766099c..ec576eae48f4 100644 --- a/packages/@biomejs/cli-darwin-arm64/package.json +++ b/packages/@biomejs/cli-darwin-arm64/package.json @@ -11,6 +11,10 @@ "node": ">=14.21.3" }, "homepage": "https://biomejs.dev", - "os": ["darwin"], - "cpu": ["arm64"] + "os": [ + "darwin" + ], + "cpu": [ + "arm64" + ] } diff --git a/packages/@biomejs/cli-darwin-x64/package.json b/packages/@biomejs/cli-darwin-x64/package.json index b64b98244080..8f3ea10e8999 100644 --- a/packages/@biomejs/cli-darwin-x64/package.json +++ b/packages/@biomejs/cli-darwin-x64/package.json @@ -11,6 +11,10 @@ "node": ">=14.21.3" }, "homepage": "https://biomejs.dev", - "os": ["darwin"], - "cpu": ["x64"] + "os": [ + "darwin" + ], + "cpu": [ + "x64" + ] } diff --git a/packages/@biomejs/cli-linux-arm64-musl/package.json b/packages/@biomejs/cli-linux-arm64-musl/package.json index b40f1c89378b..6378d77c4c16 100644 --- a/packages/@biomejs/cli-linux-arm64-musl/package.json +++ b/packages/@biomejs/cli-linux-arm64-musl/package.json @@ -11,7 +11,13 @@ "node": ">=14.21.3" }, "homepage": "https://biomejs.dev", - "os": ["linux"], - "cpu": ["arm64"], - "libc": ["musl"] + "os": [ + "linux" + ], + "cpu": [ + "arm64" + ], + "libc": [ + "musl" + ] } diff --git a/packages/@biomejs/cli-linux-arm64/package.json b/packages/@biomejs/cli-linux-arm64/package.json index fa13c2d84444..cee61ea913dd 100644 --- a/packages/@biomejs/cli-linux-arm64/package.json +++ b/packages/@biomejs/cli-linux-arm64/package.json @@ -11,6 +11,10 @@ "node": ">=14.21.3" }, "homepage": "https://biomejs.dev", - "os": ["linux"], - "cpu": ["arm64"] + "os": [ + "linux" + ], + "cpu": [ + "arm64" + ] } diff --git a/packages/@biomejs/cli-linux-x64-musl/package.json b/packages/@biomejs/cli-linux-x64-musl/package.json index 1e83e3775009..1618fc113d8e 100644 --- a/packages/@biomejs/cli-linux-x64-musl/package.json +++ b/packages/@biomejs/cli-linux-x64-musl/package.json @@ -11,7 +11,13 @@ "node": ">=14.21.3" }, "homepage": "https://biomejs.dev", - "os": ["linux"], - "cpu": ["x64"], - "libc": ["musl"] + "os": [ + "linux" + ], + "cpu": [ + "x64" + ], + "libc": [ + "musl" + ] } diff --git a/packages/@biomejs/cli-linux-x64/package.json b/packages/@biomejs/cli-linux-x64/package.json index e22be4746fa8..d1da70340e1e 100644 --- a/packages/@biomejs/cli-linux-x64/package.json +++ b/packages/@biomejs/cli-linux-x64/package.json @@ -11,6 +11,10 @@ "node": ">=14.21.3" }, "homepage": "https://biomejs.dev", - "os": ["linux"], - "cpu": ["x64"] + "os": [ + "linux" + ], + "cpu": [ + "x64" + ] } diff --git a/packages/@biomejs/cli-win32-arm64/package.json b/packages/@biomejs/cli-win32-arm64/package.json index fe5c279f1917..a2666517c53f 100644 --- a/packages/@biomejs/cli-win32-arm64/package.json +++ b/packages/@biomejs/cli-win32-arm64/package.json @@ -11,6 +11,10 @@ "node": ">=14.21.3" }, "homepage": "https://biomejs.dev", - "os": ["win32"], - "cpu": ["arm64"] + "os": [ + "win32" + ], + "cpu": [ + "arm64" + ] } diff --git a/packages/@biomejs/cli-win32-x64/package.json b/packages/@biomejs/cli-win32-x64/package.json index 23ef6dd5b831..a1f5d6ab9d52 100644 --- a/packages/@biomejs/cli-win32-x64/package.json +++ b/packages/@biomejs/cli-win32-x64/package.json @@ -11,6 +11,10 @@ "node": ">=14.21.3" }, "homepage": "https://biomejs.dev", - "os": ["win32"], - "cpu": ["x64"] + "os": [ + "win32" + ], + "cpu": [ + "x64" + ] } diff --git a/packages/@biomejs/js-api/package.json b/packages/@biomejs/js-api/package.json index ef9af64ec6b4..7504d3ceaaf3 100644 --- a/packages/@biomejs/js-api/package.json +++ b/packages/@biomejs/js-api/package.json @@ -30,7 +30,12 @@ ], "main": "./dist/index.js", "types": "./dist/index.d.ts", - "keywords": ["JavaScript", "bindings", "APIs", "biome"], + "keywords": [ + "JavaScript", + "bindings", + "APIs", + "biome" + ], "license": "MIT OR Apache-2.0", "homepage": "https://biomejs.dev", "repository": { diff --git a/shared/biome.json b/shared/biome.json index 2c63c0851048..0967ef424bce 100644 --- a/shared/biome.json +++ b/shared/biome.json @@ -1,2 +1 @@ -{ -} +{}