File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -69,11 +69,11 @@ With `v1.6` Biome provides partial support for Astro. Linting and Formatting is
6969
70703 . Provide the overrides property inside biome config to support ` .astro ` files:
7171
72- ``` json title="biome.json" ins={12-24 }
72+ ``` json title="biome.json" ins={12-28 }
7373 {
74- "$schema" : " https://biomejs.dev/schemas/1.8.3 /schema.json" ,
74+ "$schema" : " https://biomejs.dev/schemas/2.0.6 /schema.json" ,
7575 "organizeImports" : {
76- "enabled" : true
76+ "enabled" : true
7777 },
7878 "linter" : {
7979 "enabled" : true ,
@@ -83,12 +83,16 @@ With `v1.6` Biome provides partial support for Astro. Linting and Formatting is
8383 },
8484 "overrides" : [
8585 {
86- "includes" : [" *. astro" ],
86+ "includes" : [" **/*.svelte " , " **/*. astro" , " **/*.vue " ],
8787 "linter" : {
8888 "rules" : {
8989 "style" : {
9090 "useConst" : " off" ,
9191 "useImportType" : " off"
92+ },
93+ "correctness" : {
94+ "noUnusedVariables" : " off" ,
95+ "noUnusedImports" : " off"
9296 }
9397 }
9498 }
You can’t perform that action at this time.
0 commit comments