File tree Expand file tree Collapse file tree 3 files changed +6
-42
lines changed Expand file tree Collapse file tree 3 files changed +6
-42
lines changed Original file line number Diff line number Diff line change 73
73
uses : golangci/golangci-lint-action@v4
74
74
with :
75
75
version : latest
76
+ env :
77
+ GOOS : js
78
+ GOARCH : wasm
76
79
77
80
lint-js :
78
81
timeout-minutes : 3
81
84
- uses : actions/checkout@v4
82
85
- name : Setup Biome
83
86
uses : biomejs/setup-biome@v2
84
- with :
85
- version : latest
86
87
- name : Run linting
87
88
run : biome ci --diagnostic-level=warn
Original file line number Diff line number Diff line change 1
- run :
2
- skip -dirs :
1
+ issues :
2
+ exclude -dirs :
3
3
- lib
4
- skip -files :
4
+ exclude -files :
5
5
- xxhash.go
6
-
7
- issues :
8
6
exclude-rules :
9
7
- path : token.go
10
8
linters :
@@ -13,15 +11,6 @@ issues:
13
11
linters :
14
12
- errcheck
15
13
16
- - linters :
17
- - typecheck
18
- text : " syscall/js"
19
14
- linters :
20
15
- staticcheck
21
16
text : " SA9003"
22
- - linters :
23
- - typecheck
24
- text : " by package vert"
25
- - linters :
26
- - typecheck
27
- text : " vert."
Original file line number Diff line number Diff line change @@ -46,32 +46,6 @@ export default $$Component;`
46
46
var CREATE_ASTRO_CALL = "const $$Astro = $$createAstro('https://astro.build');\n const Astro = $$Astro;"
47
47
var RENDER_HEAD_RESULT = "${$$renderHead($$result)}"
48
48
49
- func suffixWithFilename (filename string , transitions bool ) string {
50
- propagationArg := "undefined"
51
- if transitions {
52
- propagationArg = `'self'`
53
- }
54
- return fmt .Sprintf ("%s;" , BACKTICK ) + fmt .Sprintf (`
55
- }, '%s', %s);
56
- export default $$Component;` , filename , propagationArg )
57
- }
58
-
59
- type want struct {
60
- frontmatter []string
61
- definedVars []string
62
- getStaticPaths string
63
- code string
64
- metadata
65
- }
66
-
67
- type metadata struct {
68
- hoisted []string
69
- hydratedComponents []string
70
- clientOnlyComponents []string
71
- modules []string
72
- hydrationDirectives []string
73
- }
74
-
75
49
type testcase struct {
76
50
name string
77
51
source string
You can’t perform that action at this time.
0 commit comments