|
32 | 32 | "build": "npm-run-all build:cpp build:prod", |
33 | 33 | "clean": "rm -rf dist lib playwright-report ../python_template_cppjswasm/extension", |
34 | 34 | "dev": "npm-run-all -p start watch", |
35 | | - "lint:js": "prettier --check \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"", |
| 35 | + "lint:js": "oxlint . && oxfmt --check \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"", |
36 | 36 | "lint:cpp": "clang-format --dry-run -Werror -style=file:../.clang-format src/cpp/*.cpp", |
37 | 37 | "lint": "npm-run-all lint:*", |
38 | | - "fix:js": "prettier --write \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"", |
| 38 | + "fix:js": "oxlint --fix . && oxfmt --write \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"", |
39 | 39 | "fix:cpp": "clang-format -i -style=file:../.clang-format src/cpp/*.cpp", |
40 | 40 | "fix": "npm-run-all fix:*", |
41 | 41 | "preinstall": "npx only-allow pnpm", |
|
55 | 55 | "http-server": "^14.1.1", |
56 | 56 | "nodemon": "^3.1.10", |
57 | 57 | "npm-run-all": "^4.1.5", |
58 | | - "prettier": "^3.9.6", |
| 58 | + "oxfmt": "^0.63.0", |
| 59 | + "oxlint": "^1.78.0", |
59 | 60 | "typescript": "^7.0.2" |
60 | 61 | } |
61 | 62 | } |
0 commit comments