|
36 | 36 | "@babel/plugin-proposal-export-namespace-from": "^7.18.9", |
37 | 37 | "@babel/preset-env": "^7.7.1", |
38 | 38 | "@babel/preset-typescript": "^7.18.6", |
| 39 | + "@biomejs/biome": "^2.2.4", |
| 40 | + "@prezly/biome-config": "^1.0.1", |
39 | 41 | "@types/node": "^20.10.4", |
40 | 42 | "babel-plugin-add-import-extension": "^1.6.0", |
41 | 43 | "babel-plugin-transform-inline-environment-variables": "^0.4.4", |
|
55 | 57 | "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", |
56 | 58 | "watch": "tsc --watch --preserveWatchOutput --project .", |
57 | 59 | "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", |
60 | 62 | "test": "npm run test:build && npm run test:unit", |
61 | 63 | "test:unit": "vitest run", |
62 | 64 | "test:build": "node dist/index.js && tsc --noEmit dist/index.d.ts", |
|
0 commit comments