chore: Установка и базовая настройка прекоммит хуков с lefthook
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
pre-commit:
|
||||
parallel: true
|
||||
commands:
|
||||
biome-check:
|
||||
glob: "*.{js,json,css}"
|
||||
run: yarn biome check --write {staged_files}
|
||||
stage_fixed: true
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.5.3",
|
||||
"lefthook": "^2.1.10",
|
||||
"vite": "^8.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -289,6 +289,7 @@ __metadata:
|
||||
resolution: "arkanoid@workspace:."
|
||||
dependencies:
|
||||
"@biomejs/biome": "npm:^2.5.3"
|
||||
lefthook: "npm:^2.1.10"
|
||||
vite: "npm:^8.1.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -366,6 +367,117 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lefthook-darwin-arm64@npm:2.1.10":
|
||||
version: 2.1.10
|
||||
resolution: "lefthook-darwin-arm64@npm:2.1.10"
|
||||
conditions: os=darwin & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lefthook-darwin-x64@npm:2.1.10":
|
||||
version: 2.1.10
|
||||
resolution: "lefthook-darwin-x64@npm:2.1.10"
|
||||
conditions: os=darwin & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lefthook-freebsd-arm64@npm:2.1.10":
|
||||
version: 2.1.10
|
||||
resolution: "lefthook-freebsd-arm64@npm:2.1.10"
|
||||
conditions: os=freebsd & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lefthook-freebsd-x64@npm:2.1.10":
|
||||
version: 2.1.10
|
||||
resolution: "lefthook-freebsd-x64@npm:2.1.10"
|
||||
conditions: os=freebsd & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lefthook-linux-arm64@npm:2.1.10":
|
||||
version: 2.1.10
|
||||
resolution: "lefthook-linux-arm64@npm:2.1.10"
|
||||
conditions: os=linux & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lefthook-linux-x64@npm:2.1.10":
|
||||
version: 2.1.10
|
||||
resolution: "lefthook-linux-x64@npm:2.1.10"
|
||||
conditions: os=linux & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lefthook-openbsd-arm64@npm:2.1.10":
|
||||
version: 2.1.10
|
||||
resolution: "lefthook-openbsd-arm64@npm:2.1.10"
|
||||
conditions: os=openbsd & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lefthook-openbsd-x64@npm:2.1.10":
|
||||
version: 2.1.10
|
||||
resolution: "lefthook-openbsd-x64@npm:2.1.10"
|
||||
conditions: os=openbsd & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lefthook-windows-arm64@npm:2.1.10":
|
||||
version: 2.1.10
|
||||
resolution: "lefthook-windows-arm64@npm:2.1.10"
|
||||
conditions: os=win32 & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lefthook-windows-x64@npm:2.1.10":
|
||||
version: 2.1.10
|
||||
resolution: "lefthook-windows-x64@npm:2.1.10"
|
||||
conditions: os=win32 & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lefthook@npm:^2.1.10":
|
||||
version: 2.1.10
|
||||
resolution: "lefthook@npm:2.1.10"
|
||||
dependencies:
|
||||
lefthook-darwin-arm64: "npm:2.1.10"
|
||||
lefthook-darwin-x64: "npm:2.1.10"
|
||||
lefthook-freebsd-arm64: "npm:2.1.10"
|
||||
lefthook-freebsd-x64: "npm:2.1.10"
|
||||
lefthook-linux-arm64: "npm:2.1.10"
|
||||
lefthook-linux-x64: "npm:2.1.10"
|
||||
lefthook-openbsd-arm64: "npm:2.1.10"
|
||||
lefthook-openbsd-x64: "npm:2.1.10"
|
||||
lefthook-windows-arm64: "npm:2.1.10"
|
||||
lefthook-windows-x64: "npm:2.1.10"
|
||||
dependenciesMeta:
|
||||
lefthook-darwin-arm64:
|
||||
optional: true
|
||||
lefthook-darwin-x64:
|
||||
optional: true
|
||||
lefthook-freebsd-arm64:
|
||||
optional: true
|
||||
lefthook-freebsd-x64:
|
||||
optional: true
|
||||
lefthook-linux-arm64:
|
||||
optional: true
|
||||
lefthook-linux-x64:
|
||||
optional: true
|
||||
lefthook-openbsd-arm64:
|
||||
optional: true
|
||||
lefthook-openbsd-x64:
|
||||
optional: true
|
||||
lefthook-windows-arm64:
|
||||
optional: true
|
||||
lefthook-windows-x64:
|
||||
optional: true
|
||||
bin:
|
||||
lefthook: bin/index.js
|
||||
checksum: 10c0/be812e1517a967977750a41f15a2070cea63e1774137737426f636e1bd379f4dfc73482fa7f07df6b9a1413ee50c6e2d790936d7986bdcafd46255d871c17b76
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lightningcss-android-arm64@npm:1.32.0":
|
||||
version: 1.32.0
|
||||
resolution: "lightningcss-android-arm64@npm:1.32.0"
|
||||
|
||||
Reference in New Issue
Block a user