From fe9b127a79745ee7d3968611031ec574883db331 Mon Sep 17 00:00:00 2001 From: f <> Date: Fri, 27 Sep 2024 21:12:04 +0200 Subject: [PATCH] lint css files GitOrigin-RevId: 52f7a0bdc5bc6bacbc2a6a526a23eb05629b3993 --- biome.jsonc | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/biome.jsonc b/biome.jsonc index e18ef0d..67210de 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -19,7 +19,8 @@ "suspicious": { "noExplicitAny": "warn", "noArrayIndexKey": "warn", - "noConfusingLabels": "warn" + "noConfusingLabels": "warn", + "noEmptyBlock": "warn" }, "nursery": { // https://github.com/biomejs/biome/issues/1274 diff --git a/package.json b/package.json index 3eecc9f..828c0f6 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "packageManager": "bun@1.1.27", "//lint-staged": "Able to not pass files as args https://github.com/lint-staged/lint-staged/issues/174#issuecomment-437468837", "lint-staged": { - "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [ + "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc,css}": [ "biome check --write --no-errors-on-unmatched" ], "**/*.ts?(x)": ["bun --filter '*' check && :"]