Skip to content

Commit 7b4caf2

Browse files
Update lint-staged config to use biome and prettier
1 parent baad269 commit 7b4caf2

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

package.json

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2158,17 +2158,6 @@
21582158
"watch-all": "concurrently \"tsc --watch -p ./\" \"npx tsx build/esbuild/build.ts --watch-all\"",
21592159
"watch": "concurrently \"tsc --watch -p ./\" \"npx tsx build/esbuild/build.ts --watch\""
21602160
},
2161-
"lint-staged": {
2162-
"**/*.{ts,tsx,html,json,jsonc}": [
2163-
"biome check --write"
2164-
],
2165-
"**/*.{md,yml,yaml}": [
2166-
"prettier --write"
2167-
],
2168-
".gitignore": [
2169-
"sort -o .gitignore .gitignore"
2170-
]
2171-
},
21722161
"dependencies": {
21732162
"@c4312/evt": "^0.1.1",
21742163
"@deepnote/blocks": "^1.2.0",
@@ -2380,9 +2369,14 @@
23802369
"util": "^0.12.4"
23812370
},
23822371
"lint-staged": {
2383-
"src/**/*.{ts,tsx}": [
2384-
"eslint --cache --fix",
2372+
"**/*.{ts,tsx,html,json,jsonc}": [
2373+
"biome check --write"
2374+
],
2375+
"**/*.{md,yml,yaml}": [
23852376
"prettier --write"
2377+
],
2378+
".gitignore": [
2379+
"sort -o .gitignore .gitignore"
23862380
]
23872381
},
23882382
"optionalDependencies": {

0 commit comments

Comments
 (0)