|
34 | 34 | "build": "npm-run-all build:rust build:wasm-bindgen build:prod", |
35 | 35 | "clean": "rm -rf dist lib playwright-report ../python_template_rust/extension", |
36 | 36 | "dev": "npm-run-all -p start watch", |
37 | | - "lint:js": "prettier --check \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"", |
| 37 | + "lint:js": "oxlint . && oxfmt --check \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"", |
38 | 38 | "lint:rust": "cargo clippy --all-features && cargo fmt --all -- --check", |
39 | 39 | "lint": "npm-run-all lint:*", |
40 | | - "fix:js": "prettier --write \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"", |
| 40 | + "fix:js": "oxlint --fix . && oxfmt --write \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"", |
41 | 41 | "fix:rust": "cargo fmt --all", |
42 | 42 | "fix": "npm-run-all fix:*", |
43 | 43 | "preinstall": "npx only-allow pnpm", |
|
58 | 58 | "http-server": "^14.1.1", |
59 | 59 | "nodemon": "^3.1.14", |
60 | 60 | "npm-run-all": "^4.1.5", |
61 | | - "prettier": "^3.9.6", |
| 61 | + "oxfmt": "^0.63.0", |
| 62 | + "oxlint": "^1.78.0", |
62 | 63 | "typescript": "^7.0.2" |
63 | 64 | } |
64 | 65 | } |
0 commit comments