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 7373 uses : golangci/golangci-lint-action@v4
7474 with :
7575 version : latest
76+ env :
77+ GOOS : js
78+ GOARCH : wasm
7679
7780 lint-js :
7881 timeout-minutes : 3
8184 - uses : actions/checkout@v4
8285 - name : Setup Biome
8386 uses : biomejs/setup-biome@v2
84- with :
85- version : latest
8687 - name : Run linting
8788 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 :
33 - lib
4- skip -files :
4+ exclude -files :
55 - xxhash.go
6-
7- issues :
86 exclude-rules :
97 - path : token.go
108 linters :
@@ -13,15 +11,6 @@ issues:
1311 linters :
1412 - errcheck
1513
16- - linters :
17- - typecheck
18- text : " syscall/js"
1914 - linters :
2015 - staticcheck
2116 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;`
4646var CREATE_ASTRO_CALL = "const $$Astro = $$createAstro('https://astro.build');\n const Astro = $$Astro;"
4747var RENDER_HEAD_RESULT = "${$$renderHead($$result)}"
4848
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-
7549type testcase struct {
7650 name string
7751 source string
You can’t perform that action at this time.
0 commit comments