Skip to content

Commit 488241d

Browse files
LaurenceJJonesmmetc
authored andcommitted
enhance: Handle biomejs 2.2.0 patches (#848)
1 parent 327ea0c commit 488241d

File tree

3 files changed

+50
-41
lines changed

3 files changed

+50
-41
lines changed

biome.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
2+
"root": true,
3+
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
34
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
45
"files": {
56
"ignoreUnknown": false,
67
"includes": [
78
"crowdsec-docs/**/*.ts",
89
"crowdsec-docs/**/*.tsx",
910
"crowdsec-docs/**/*.css",
10-
"!**/node_modules/**",
11-
"!crowdsec-docs/plugins/**",
12-
"!crowdsec-docs/build/**"
11+
"!**/node_modules",
12+
"!crowdsec-docs/plugins",
13+
"!crowdsec-docs/build",
14+
"!**/.docusaurus"
1315
]
1416
},
1517
"formatter": {
@@ -31,6 +33,12 @@
3133
"recommended": true,
3234
"style": {
3335
"useImportType": "off"
36+
},
37+
"complexity": {
38+
"noImportantStyles": "off"
39+
},
40+
"suspicious": {
41+
"noUnknownAtRules": "off"
3442
}
3543
}
3644
},

crowdsec-docs/package-lock.json

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crowdsec-docs/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"serve": "docusaurus serve",
1313
"lint": "biome check",
1414
"format": "biome format",
15+
"migrate": "biome migrate --write",
1516
"write-translations": "docusaurus write-translations",
1617
"write-heading-ids": "docusaurus write-heading-ids"
1718
},
@@ -46,7 +47,7 @@
4647
"tailwindcss-animate": "^1.0.7"
4748
},
4849
"devDependencies": {
49-
"@biomejs/biome": "2.0.6",
50+
"@biomejs/biome": "2.2.0",
5051
"@docusaurus/module-type-aliases": "^3.8.1",
5152
"@docusaurus/tsconfig": "^3.8.1",
5253
"@docusaurus/types": "^3.8.1",

0 commit comments

Comments
 (0)