|
20 | 20 | "typings": "dist/index.d.ts",
|
21 | 21 | "lint-staged": {
|
22 | 22 | "*.{js,ts}": [
|
| 23 | + "biome format --write", |
23 | 24 | "prettier --config prettier.config.js --write",
|
24 | 25 | "eslint --fix"
|
25 | 26 | ],
|
|
36 | 37 | "analyze:deps:graph": "madge --extensions js,ts --image graph.svg --layout dot --ts-config tsconfig.json src/**",
|
37 | 38 | "test": "jest tests --verbose",
|
38 | 39 | "test:coverage": "jest tests --coverage",
|
39 |
| - "fmt": "prettier --config prettier.config.js --write .", |
| 40 | + "fmt": "biome format --write . && prettier --config prettier.config.js --write .", |
40 | 41 | "lint": "eslint --ext ts,js src/",
|
41 |
| - "lint:fix": "eslint --ext ts,js --fix src/", |
| 42 | + "lint:fix": "biome lint --apply-unsafe src/ && eslint --ext ts,js --fix src/", |
42 | 43 | "lint:staged": "lint-staged",
|
43 | 44 | "fix": "npm run fmt && npm run lint:fix",
|
44 | 45 | "build:api-docs": "typedoc --plugin typedoc-plugin-markdown --out docs/api src/index.ts",
|
|
52 | 53 | "version": "auto-changelog -p -o CHANGELOG.md --hide-credit --release-summary --hide-empty-releases --sort-commits date-desc && git add CHANGELOG.md"
|
53 | 54 | },
|
54 | 55 | "devDependencies": {
|
| 56 | + "@biomejs/biome": "1.4.1", |
55 | 57 | "@types/jest": "^29.5.11",
|
56 | 58 | "@types/node": "^20.10.5",
|
57 | 59 | "@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
0 commit comments