-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoxlint_target.log
More file actions
95 lines (87 loc) · 4.47 KB
/
Copy pathoxlint_target.log
File metadata and controls
95 lines (87 loc) · 4.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
x import(no-named-as-default-member): "yaml" also has a named export "DEFAULT_SCHEMA"
,-[src/resolver/cli.ts:12:27]
11 |
12 | const RESOLVABLE_SCHEMA = yaml.DEFAULT_SCHEMA.extend({
: ^^^^^^^^^^^^^^^^^^^
13 | explicit: [referenceTagResolvable],
`----
help: Check if you meant to write `import { DEFAULT_SCHEMA } from "js-yaml"`
x import(no-named-as-default-member): "yaml" also has a named export "loadAll"
,-[src/resolver/cli.ts:37:21]
36 | function parseYamlResolvable(yamlContent: string): Record<string, unknown> {
37 | const documents = yaml.loadAll(yamlContent, null, {
: ^^^^^^^^^^^^
38 | schema: RESOLVABLE_SCHEMA,
`----
help: Check if you meant to write `import { loadAll } from "js-yaml"`
x import(no-cycle): Dependency cycle detected
,-[src/resolver/cli.ts:6:36]
5 |
6 | import type { ConfigBuilder } from "../builder/ConfigBuilder"
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
7 | import { ConfigBuilder as Builder } from "../builder/ConfigBuilder"
`----
help: Refactor to remove the cycle. Consider extracting shared code into a separate module that both files can import.
note: These paths form a cycle:
╭──▶ ../builder/ConfigBuilder (src/builder/ConfigBuilder.ts)
│ ⬇ imports
│ ../resolution/visualization (src/resolution/visualization.ts)
│ ⬇ imports
│ ../resolver/cli (src/resolver/cli.ts)
╰─────────╯ imports the current file
x unicorn(filename-case): Filename should be in kebab-case
,-[src/builder/ConfigBuilder.ts:1:1]
1 | import fs from "node:fs/promises"
: ^
2 | import path from "node:path"
`----
help: Rename the file to 'config-builder.ts'
x import(no-cycle): Dependency cycle detected
,-[src/builder/ConfigBuilder.ts:11:43]
10 | import { buildExtendsGraph } from "../resolution/graph"
11 | import type { VisualizationOptions } from "../resolution/visualization"
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 | import {
`----
help: Refactor to remove the cycle. Consider extracting shared code into a separate module that both files can import.
note: These paths form a cycle:
╭──▶ ../resolution/visualization (src/resolution/visualization.ts)
│ ⬇ imports
│ ../resolver/cli (src/resolver/cli.ts)
│ ⬇ imports
│ ../builder/ConfigBuilder (src/builder/ConfigBuilder.ts)
╰─────────╯ imports the current file
x import(no-cycle): Dependency cycle detected
,-[src/resolution/visualization.ts:5:33]
4 | import { parseYaml } from "../importer/parser"
5 | import { resolveIncludes } from "../resolver/cli"
: ^^^^^^^^^^^^^^^^^
6 | import type { IncludeInput, Stage, Workflow } from "../schema"
`----
help: Refactor to remove the cycle. Consider extracting shared code into a separate module that both files can import.
note: These paths form a cycle:
╭──▶ ../resolver/cli (src/resolver/cli.ts)
│ ⬇ imports
│ ../builder/ConfigBuilder (src/builder/ConfigBuilder.ts)
│ ⬇ imports
│ ../resolution/visualization (src/resolution/visualization.ts)
╰─────────╯ imports the current file
x import(no-cycle): Dependency cycle detected
,-[src/resolution/visualization.ts:8:43]
7 | import type { BaseJob } from "../schema/job"
8 | import type { TrackedChildPipeline } from "./child-pipeline"
: ^^^^^^^^^^^^^^^^^^
9 | import { extractChildPipelines } from "./child-pipeline"
`----
help: Refactor to remove the cycle. Consider extracting shared code into a separate module that both files can import.
note: These paths form a cycle:
╭──▶ ./child-pipeline (src/resolution/child-pipeline.ts)
│ ⬇ imports
│ ../builder (src/builder/index.ts)
│ ⬇ imports
│ ./ConfigBuilder (src/builder/ConfigBuilder.ts)
│ ⬇ imports
│ ../resolution/visualization (src/resolution/visualization.ts)
╰─────────╯ imports the current file
Found 0 warnings and 7 errors.
Finished in 38ms on 3 files with 445 rules using 12 threads.