Skip to content

Commit 808d952

Browse files
committed
Simplify Biome related npm scripts
Signed-off-by: Sora Morimoto <sora@morimoto.io>
1 parent bb24460 commit 808d952

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@
99
"scripts": {
1010
"prebuild": "npm run sass",
1111
"build": "eleventy",
12-
"fix": "npm run fix:js && npm run fix:scss && npm run fix:format",
13-
"fix:format": "npm run lint:format -- --write",
14-
"fix:js": "npm run lint:js -- --apply",
12+
"fix": "npm run fix:biome & npm run fix:scss",
13+
"fix:biome": "npm run lint:biome -- --fix",
1514
"fix:scss": "npm run lint:scss -- --fix",
16-
"lint": "npm run lint:js && npm run lint:scss && npm run lint:format",
17-
"lint:format": "biome format .",
18-
"lint:js": "biome lint .",
15+
"lint": "npm run lint:biome & npm run lint:scss",
16+
"lint:biome": "biome check",
1917
"lint:scss": "stylelint _sass",
2018
"sass": "sass --style=compressed _sass/style.scss assets/css/style.css",
2119
"sass:watch": "sass --style=compressed _sass/style.scss assets/css/style.css --watch",

0 commit comments

Comments
 (0)