Skip to content

Commit 2a5ff4e

Browse files
authored
chore(biome): should check all JavaScript file types (#943)
1 parent 454b6f8 commit 2a5ff4e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

biome.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@
88
"./**/*.ts",
99
"./**/*.tsx",
1010
"./**/*.mjs",
11-
"./**/*.cjs"
11+
"./**/*.mjsx",
12+
"./**/*.cjs",
13+
"./**/*.cjsx",
14+
"./**/*.mts",
15+
"./**/*.mtsx",
16+
"./**/*.cts",
17+
"./**/*.ctsx"
1218
]
1319
},
1420
"vcs": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"nano-staged": {
3434
"*.{md,mdx,css,less,scss,json,jsonc,json5}": "prettier --write",
35-
"*.{js,jsx,ts,tsx,mjs,cjs}": [
35+
"*.{js,jsx,ts,tsx,mjs,mjsx,cjs,cjsx,mts,mtsx,cts,ctsx}": [
3636
"biome check --write"
3737
],
3838
"package.json": [

0 commit comments

Comments
 (0)