mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-26 02:52:50 +03:00
Correctly add package as a dependency for linting
This commit is contained in:
parent
5e463f7011
commit
ee8f871005
@ -16,7 +16,8 @@
|
||||
"build": "turbo run build",
|
||||
"check": "turbo run check",
|
||||
"tauri": "tauri",
|
||||
"lint": "prettier --check . && eslint .",
|
||||
"lint": "turbo run //#globallint",
|
||||
"globallint": "prettier --check . && eslint .",
|
||||
"format": "prettier --write .",
|
||||
"fix": "eslint --fix .",
|
||||
"prepare": "pnpm --filter @gitbutler/app run prepare",
|
||||
|
@ -9,11 +9,16 @@
|
||||
"cache": false
|
||||
},
|
||||
"dev": {
|
||||
"dependsOn": ["@gitbutler/ui#package"],
|
||||
"dependsOn": ["^package"],
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
},
|
||||
"check": {
|
||||
"dependsOn": ["^package"],
|
||||
"cache": true
|
||||
},
|
||||
"//#globallint": {
|
||||
// Root rules require dependencies to manually be listed https://github.com/vercel/turbo/discussions/7481
|
||||
"dependsOn": ["@gitbutler/ui#package"],
|
||||
"cache": true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user