|
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 | | - "@typescript-eslint/eslint-plugin": "^6.13.2", |
41 | | - "@typescript-eslint/parser": "^6.13.2", |
42 | 42 | "babel-plugin-add-import-extension": "^1.6.0", |
43 | 43 | "babel-plugin-transform-inline-environment-variables": "^0.4.4", |
44 | 44 | "cross-env": "^7.0.3", |
45 | | - "eslint": "^8.56.0", |
46 | | - "eslint-config-prettier": "^8.10.0", |
47 | | - "eslint-plugin-import": "^2.29.1", |
48 | 45 | "np": "^9.2.0", |
49 | | - "prettier": "^2.8.8", |
50 | 46 | "rimraf": "^3.0.0", |
51 | 47 | "typescript": "^5.3.3", |
52 | 48 | "vitest": "^1.2.2", |
|
61 | 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", |
62 | 58 | "watch": "tsc --watch --preserveWatchOutput --project .", |
63 | 59 | "start": "npm run build --incremental --watch", |
64 | | - "lint": "eslint ./src --ext=.ts", |
65 | | - "lint:fix": "npm run lint -- --fix", |
| 60 | + "lint": "biome ci", |
| 61 | + "lint:fix": "biome lint --write", |
66 | 62 | "test": "npm run test:build && npm run test:unit", |
67 | 63 | "test:unit": "vitest run", |
68 | 64 | "test:build": "node dist/index.js && tsc --noEmit dist/index.d.ts", |
69 | | - "prettier:check": "prettier --check './src/**/*.{ts,js}'", |
70 | | - "prettier:fix": "prettier --write './src/**/*.{ts,js}'", |
| 65 | + "format:check": "biome format", |
| 66 | + "format": "biome format --write", |
71 | 67 | "prerelease": "npm run build", |
72 | 68 | "release": "np" |
73 | 69 | }, |
|
0 commit comments