Skip to content

Commit 1868881

Browse files
authored
mono - fix: updating biome to fail on warnings (#1271)
1 parent 7a44ed1 commit 1868881

File tree

22 files changed

+44
-34
lines changed

22 files changed

+44
-34
lines changed

packages/benchmark/biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",

packages/benchmark/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"scripts": {
3333
"build": "echo 'no build needed'",
3434
"prepublish": "pnpm build",
35-
"lint": "biome check --write",
36-
"test": "echo 'no tests needed'",
37-
"test:ci": "echo 'no tests needed'",
35+
"lint": "biome check --write --error-on-warnings",
36+
"test": "pnpm lint && echo 'no tests needed'",
37+
"test:ci": "biome check --error-on-warnings && echo 'no tests needed'",
3838
"benchmark:memory": "tsx ./memory.ts && tsx ./memory-lru.ts",
3939
"benchmark:cache": "tsx ./cache-get-set.ts",
4040
"benchmark:nodecache": "tsx ./node-cache.ts",

packages/cache-manager/biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",

packages/cache-manager/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
],
1919
"scripts": {
2020
"clean": "rimraf ./dist ./coverage ./node_modules",
21-
"test": "biome check --write && vitest run --coverage",
22-
"test:ci": "biome check && vitest run --coverage",
21+
"lint": "biome check --write --error-on-warnings",
22+
"test": "pnpm lint && vitest run --coverage",
23+
"test:ci": "biome check --error-on-warnings && vitest run --coverage",
2324
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
2425
"prepublish": "pnpm run build"
2526
},

packages/cacheable-request/biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",

packages/cacheable-request/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
"node": ">=18"
1717
},
1818
"scripts": {
19-
"test": "biome check --write && vitest run --coverage",
20-
"test:ci": "biome check && vitest run --coverage",
19+
"lint": "biome check --write --error-on-warnings",
20+
"test": "pnpm lint && vitest run --coverage",
21+
"test:ci": "biome check --error-on-warnings && vitest run --coverage",
2122
"prepublish": "pnpm run build",
2223
"build": "rimraf ./dist && tsc --project tsconfig.build.json",
2324
"clean": "rimraf node_modules ./coverage ./test/testdb.sqlite ./dist"

packages/cacheable/biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",

packages/cacheable/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
"scripts": {
2424
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
2525
"prepublish": "pnpm build",
26-
"test": "biome check --write && vitest run --coverage",
27-
"test:ci": "biome check && vitest run --coverage",
26+
"lint": "biome check --write --error-on-warnings",
27+
"test": "pnpm lint && vitest run --coverage",
28+
"test:ci": "biome check --error-on-warnings && vitest run --coverage",
2829
"clean": "rimraf ./dist ./coverage ./node_modules"
2930
},
3031
"devDependencies": {

packages/file-entry-cache/biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",

packages/file-entry-cache/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@
3131
"scripts": {
3232
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
3333
"prepublish": "pnpm build",
34-
"test": "biome check --write && vitest run --coverage",
35-
"test:ci": "biome check && vitest run --coverage",
34+
"lint": "biome check --write --error-on-warnings",
35+
"test": "pnpm lint && vitest run --coverage",
36+
"test:ci": "biome check --error-on-warnings && vitest run --coverage",
3637
"clean": "rimraf ./dist ./coverage ./node_modules"
3738
},
3839
"devDependencies": {

0 commit comments

Comments
 (0)