refactor: add sync generator for zod2md tooling setup #3900
code-pushup.yml
on: pull_request
Standalone mode
10m 34s
Monorepo mode
16m 52s
Annotations
5 errors and 10 warnings
|
<✓> ESLint | Enforce consistent usage of type assertions:
tools/zod2md-jsdocs/src/lib/generators/sync-zod2md-setup/sync-zod2md-setup.ts#L223
Always prefer const x: T = { ... }.
|
|
<✓> TypeScript | Semantic errors:
tools/zod2md-jsdocs/src/lib/generators/sync-zod2md-setup/sync-zod2md-setup.unit.test.ts#L207
TS2322: Type '{ targets: { build: { dependsOn: (string | { target: string; projects: string; })[]; }; }; includedScripts?: string[]; name?: string | undefined; root?: string | undefined; sourceRoot?: string | undefined; projectType?: devkit.ProjectType | undefined; ... 5 more ...; metadata?: ProjectMetadata | undefined; }' is not assignable to type 'ProjectConfiguration & { description?: string | undefined; }'.
Type '{ targets: { build: { dependsOn: (string | { target: string; projects: string; })[]; }; }; includedScripts?: string[]; name?: string | undefined; root?: string | undefined; sourceRoot?: string | undefined; projectType?: devkit.ProjectType | undefined; ... 5 more ...; metadata?: ProjectMetadata | undefined; }' is not assignable to type 'ProjectConfiguration'.
Types of property 'root' are incompatible.
Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.
|
|
<✓> TypeScript | Semantic errors:
tools/zod2md-jsdocs/src/lib/generators/sync-zod2md-setup/sync-zod2md-setup.unit.test.ts#L144
TS2322: Type '{ targets: { build: { dependsOn: string[]; }; }; includedScripts?: string[]; name?: string | undefined; root?: string | undefined; sourceRoot?: string | undefined; projectType?: devkit.ProjectType | undefined; ... 5 more ...; metadata?: ProjectMetadata | undefined; }' is not assignable to type 'ProjectConfiguration & { description?: string | undefined; }'.
Type '{ targets: { build: { dependsOn: string[]; }; }; includedScripts?: string[]; name?: string | undefined; root?: string | undefined; sourceRoot?: string | undefined; projectType?: devkit.ProjectType | undefined; ... 5 more ...; metadata?: ProjectMetadata | undefined; }' is not assignable to type 'ProjectConfiguration'.
Types of property 'root' are incompatible.
Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.
|
|
<✓> TypeScript | Semantic errors:
tools/zod2md-jsdocs/src/lib/generators/sync-zod2md-setup/sync-zod2md-setup.unit.test.ts#L105
TS2322: Type '{ targets: { build: { dependsOn: string[]; }; }; includedScripts?: string[]; name?: string | undefined; root?: string | undefined; sourceRoot?: string | undefined; projectType?: devkit.ProjectType | undefined; ... 5 more ...; metadata?: ProjectMetadata | undefined; }' is not assignable to type 'ProjectConfiguration & { description?: string | undefined; }'.
Type '{ targets: { build: { dependsOn: string[]; }; }; includedScripts?: string[]; name?: string | undefined; root?: string | undefined; sourceRoot?: string | undefined; projectType?: devkit.ProjectType | undefined; ... 5 more ...; metadata?: ProjectMetadata | undefined; }' is not assignable to type 'ProjectConfiguration'.
Types of property 'root' are incompatible.
Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.
|
|
<✓> TypeScript | Semantic errors:
tools/zod2md-jsdocs/src/lib/generators/sync-zod2md-setup/sync-zod2md-setup.unit.test.ts#L57
TS2322: Type 'NxProjectPackageJsonConfiguration' is not assignable to type 'ProjectConfiguration & { description?: string | undefined; }'.
Type 'NxProjectPackageJsonConfiguration' is not assignable to type 'ProjectConfiguration'.
Types of property 'root' are incompatible.
Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.
|
|
<✓> ESLint | Enforce padding around `beforeEach` blocks:
tools/zod2md-jsdocs/src/lib/generators/configuration/tsconfig.unit.test.ts#L42
expect blank line before this statement
|
|
<✓> ESLint | Enforce padding around `beforeEach` blocks:
tools/zod2md-jsdocs/src/lib/generators/configuration/tsconfig.unit.test.ts#L15
expect blank line before this statement
|
|
<✓> ESLint | Enforce padding around `beforeEach` blocks:
tools/zod2md-jsdocs/src/lib/generators/configuration/generator.int.test.ts#L22
expect blank line before this statement
|
|
<✓> ESLint | Enforce padding around `beforeEach` blocks:
tools/zod2md-jsdocs/src/lib/generators/configuration/generator.int.test.ts#L16
expect blank line before this statement
|
|
<✓> ESLint | Enforce padding around `afterEach` blocks:
tools/zod2md-jsdocs/src/lib/generators/configuration/zod2md-config.unit.test.ts#L21
expect blank line before this statement
|
|
<✓> ESLint | Enforce padding around `afterEach` blocks:
tools/zod2md-jsdocs/src/lib/generators/configuration/zod2md-config.unit.test.ts#L18
expect blank line before this statement
|
|
<✓> ESLint | Enforce padding around `afterEach` blocks:
tools/zod2md-jsdocs/src/lib/generators/configuration/generator.int.test.ts#L25
expect blank line before this statement
|
|
<✓> ESLint | Enforce padding around `afterEach` blocks:
tools/zod2md-jsdocs/src/lib/generators/configuration/generator.int.test.ts#L22
expect blank line before this statement
|
|
<✓> ESLint | Disallow mutable variables.:
tools/zod2md-jsdocs/src/lib/generators/configuration/zod2md-config.ts#L55
Unexpected let, use const instead.
|
|
<✓> ESLint | Fix whitespace-insensitive template indentation.:
tools/zod2md-jsdocs/src/lib/generators/configuration/utils.unit.test.ts#L35
Templates should be properly indented.
|