Skip to content

Commit 5bfc412

Browse files
committed
Install biome
1 parent 33aff17 commit 5bfc412

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
3737
"@babel/preset-env": "^7.7.1",
3838
"@babel/preset-typescript": "^7.18.6",
39+
"@biomejs/biome": "^2.2.4",
40+
"@prezly/biome-config": "^1.0.1",
3941
"@types/node": "^20.10.4",
4042
"babel-plugin-add-import-extension": "^1.6.0",
4143
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
@@ -55,8 +57,8 @@
5557
"build:cjs": "babel ./src --ignore='**/*.test.ts' --config-file=./babel.config.cjs.json --extensions=.ts,.cts --source-root=./src --out-dir=./dist --out-file-extension .cjs",
5658
"watch": "tsc --watch --preserveWatchOutput --project .",
5759
"start": "npm run build --incremental --watch",
58-
"lint": "eslint ./src --ext=.ts",
59-
"lint:fix": "npm run lint -- --fix",
60+
"lint": "biome lint ./src",
61+
"lint:fix": "biome lint ./src --write",
6062
"test": "npm run test:build && npm run test:unit",
6163
"test:unit": "vitest run",
6264
"test:build": "node dist/index.js && tsc --noEmit dist/index.d.ts",

0 commit comments

Comments
 (0)