mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Add lint-fix command; existing lint command is unchanged
This commit is contained in:
parent
b6eb80e10d
commit
c84551f1e6
2 changed files with 3 additions and 1 deletions
|
|
@ -271,7 +271,8 @@
|
|||
"compile": "tsc -p . --outDir out && node esbuild.js",
|
||||
"compile:integration": "tsc -p tsconfig.integration.json",
|
||||
"install:all": "npm install && cd webview-ui && npm install",
|
||||
"lint": "eslint src --ext ts && npm run lint --prefix webview-ui",
|
||||
"lint-fix": "eslint src --ext ts && npm run lint --prefix webview-ui",
|
||||
"lint-fix": "eslint src --ext ts --fix && npm run lint-fix --prefix webview-ui",
|
||||
"package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production",
|
||||
"pretest": "npm run compile && npm run compile:integration",
|
||||
"dev": "cd webview-ui && npm run dev",
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
"type": "module",
|
||||
"scripts": {
|
||||
"lint": "eslint src --ext ts,tsx",
|
||||
"lint-fix": "eslint src --ext ts,tsx --fix",
|
||||
"check-types": "tsc --noEmit",
|
||||
"test": "jest",
|
||||
"dev": "vite",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue