File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,21 +10,17 @@ permissions:
1010 contents : read
1111
1212jobs :
13- lint :
13+ biome :
14+ name : Biome
1415 runs-on : ubuntu-latest
15-
1616 steps :
17- - name : Checkout repository
17+ - name : Checkout
1818 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+ with :
20+ persist-credentials : false
1921
20- - name : Setup Node.js
21- uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
22-
23- - name : Install dependencies
24- run : npm ci
25-
26- - name : Format
27- run : npx prettier --check .
22+ - name : Setup Biome
23+ uses : biomejs/setup-biome@4c91541eaada48f67d7dbd7833600ce162b68f51 # v2.7.1
2824
29- - name : Lint
30- run : npx eslint .
25+ - name : Run Biome
26+ run : biome ci . --reporter=github
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://biomejs.dev/schemas/2.4.10/schema.json" ,
3+ "vcs" : {
4+ "enabled" : true ,
5+ "clientKind" : " git" ,
6+ "useIgnoreFile" : true
7+ },
8+ "files" : {
9+ "ignoreUnknown" : false ,
10+ "includes" : [" **" , " !!worker-configuration.d.ts" ]
11+ },
12+ "formatter" : {
13+ "enabled" : true ,
14+ "indentStyle" : " space" ,
15+ "indentWidth" : 2
16+ },
17+ "linter" : {
18+ "enabled" : true ,
19+ "rules" : {
20+ "recommended" : true ,
21+ "correctness" : {
22+ "noUnusedImports" : " off" ,
23+ "noUnusedVariables" : " off"
24+ }
25+ }
26+ },
27+ "javascript" : {
28+ "formatter" : {
29+ "quoteStyle" : " double"
30+ }
31+ },
32+ "assist" : {
33+ "enabled" : true ,
34+ "actions" : {
35+ "source" : {
36+ "organizeImports" : " on"
37+ }
38+ }
39+ }
40+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "extends" : " astro/tsconfigs/strictest" ,
33 "compilerOptions" : {
4- "baseUrl" : " ." ,
54 "paths" : {
65 "@/*" : [" ./src/*" ]
76 },
You can’t perform that action at this time.
0 commit comments