File tree 3 files changed +47
-0
lines changed
3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 19
19
uses : astral-sh/ruff-action@v2
20
20
with :
21
21
args : " format --check"
22
+
23
+ - name : Setup Biome
24
+ uses : biomejs/setup-biome@v2
25
+ with :
26
+ version : latest
27
+
28
+ - name : Run Biome
29
+ run : biome ci .
Original file line number Diff line number Diff line change 1
1
format :
2
2
ruff format
3
+ npx @biomejs/biome format --write
3
4
4
5
lint :
5
6
ruff check
7
+ npx @biomejs/biome check
6
8
7
9
lint-fix :
8
10
ruff check --fix
11
+ npx @biomejs/biome check --fix
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " https://biomejs.dev/schemas/1.9.4/schema.json" ,
3
+ "vcs" : {
4
+ "enabled" : false ,
5
+ "clientKind" : " git" ,
6
+ "useIgnoreFile" : false
7
+ },
8
+ "files" : {
9
+ "ignoreUnknown" : true ,
10
+ "ignore" : [],
11
+ "include" : [
12
+ " media/commitfest/js/commitfest.js" ,
13
+ " media/commitfest/css/commitfest.css" ,
14
+ " biome.json"
15
+ ]
16
+ },
17
+ "formatter" : {
18
+ "enabled" : true ,
19
+ "indentStyle" : " space" ,
20
+ "indentWidth" : 4
21
+ },
22
+ "organizeImports" : {
23
+ "enabled" : true
24
+ },
25
+ "linter" : {
26
+ "enabled" : true ,
27
+ "rules" : {
28
+ "recommended" : true
29
+ }
30
+ },
31
+ "javascript" : {
32
+ "formatter" : {
33
+ "quoteStyle" : " double"
34
+ }
35
+ }
36
+ }
You can’t perform that action at this time.
0 commit comments