Improve workflows for extensions that have related extensions #5108
ESLint Report Analysis
10 ESLint error(s) and 7 ESLint warning(s) found in pull request changed files.
Details
Annotations
Check failure on line 11 in packages/app/src/cli/commands/app/generate/extension.ts
github-actions / ESLint Report Analysis
packages/app/src/cli/commands/app/generate/extension.ts#L11
[import/order] `../../../services/generate/workflows/registry.js` import should occur before import of `@oclif/core`
Check failure on line 11 in packages/app/src/cli/commands/app/generate/extension.ts
github-actions / ESLint Report Analysis
packages/app/src/cli/commands/app/generate/extension.ts#L11
[prettier/prettier] Delete `·`
Check warning on line 107 in packages/app/src/cli/prompts/generate/extension.ts
github-actions / ESLint Report Analysis
packages/app/src/cli/prompts/generate/extension.ts#L107
[@typescript-eslint/prefer-nullish-coalescing] Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.
Check failure on line 68 in packages/app/src/cli/services/generate.ts
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate.ts#L68
[no-warning-comments] Unexpected 'todo' comment: 'TODO: Cleanup extension?'.
Check warning on line 114 in packages/app/src/cli/services/generate.ts
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate.ts#L114
[@typescript-eslint/prefer-nullish-coalescing] Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.
Check warning on line 176 in packages/app/src/cli/services/generate.ts
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate.ts#L176
[@typescript-eslint/prefer-nullish-coalescing] Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.
Check warning on line 181 in packages/app/src/cli/services/generate.ts
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate.ts#L181
[@typescript-eslint/prefer-nullish-coalescing] Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.
Check warning on line 182 in packages/app/src/cli/services/generate.ts
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate.ts#L182
[@typescript-eslint/prefer-nullish-coalescing] Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.
Check warning on line 86 in packages/app/src/cli/services/generate/extension.ts
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate/extension.ts#L86
[@typescript-eslint/prefer-nullish-coalescing] Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.
Check failure on line 177 in packages/app/src/cli/services/generate/extension.ts
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate/extension.ts#L177
[no-warning-comments] Unexpected 'todo' comment: 'TODO: This is where we'd want to write...'.
Check warning on line 185 in packages/app/src/cli/services/generate/extension.ts
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate/extension.ts#L185
[@typescript-eslint/prefer-nullish-coalescing] Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate/workflows/discount-details-function-settings-collection.ts#L1
[import/order] `@shopify/cli-kit/node/ui` import should occur after import of `../../generate.js`
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate/workflows/discount-details-function-settings-collection.ts#L23
[eqeqeq] Expected '===' and instead saw '=='.
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate/workflows/discount-details-function-settings-collection.ts#L35
[@typescript-eslint/no-unused-vars] 'generatedExtension' is assigned a value but never used. Allowed unused vars must match /^_/u.
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate/workflows/function-with-admin-ui.ts#L33
[no-warning-comments] Unexpected 'todo' comment: 'TODO: What if it's larger than the...'.
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate/workflows/patch-configuration-file.ts#L20
[@typescript-eslint/no-unnecessary-type-assertion] This assertion is unnecessary since it does not change the type of the expression.
github-actions / ESLint Report Analysis
packages/app/src/cli/services/generate/workflows/patch-configuration-file.ts#L20
[@typescript-eslint/no-unnecessary-type-assertion] This assertion is unnecessary since it does not change the type of the expression.