Fix --nodelete behaviour on dev command #4662
ESLint Report Analysis
0 ESLint error(s) and 10 ESLint warning(s) found in pull request changed files.
Details
Annotations
Check warning on line 75 in packages/theme/src/cli/services/dev.ts
github-actions / ESLint Report Analysis
packages/theme/src/cli/services/dev.ts#L75
[@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 82 in packages/theme/src/cli/services/dev.ts
github-actions / ESLint Report Analysis
packages/theme/src/cli/services/dev.ts#L82
[@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 123 in packages/theme/src/cli/services/dev.ts
github-actions / ESLint Report Analysis
packages/theme/src/cli/services/dev.ts#L123
[@typescript-eslint/use-unknown-in-catch-callback-variable] Prefer the safe `: unknown` for a catch callback variable.
Check warning on line 103 in packages/theme/src/cli/utilities/theme-fs.ts
github-actions / ESLint Report Analysis
packages/theme/src/cli/utilities/theme-fs.ts#L103
[@typescript-eslint/no-confusing-void-expression] Returning a void expression from a function is forbidden. Please move it before the `return` statement.
Check warning on line 105 in packages/theme/src/cli/utilities/theme-fs.ts
github-actions / ESLint Report Analysis
packages/theme/src/cli/utilities/theme-fs.ts#L105
[@typescript-eslint/no-confusing-void-expression] Returning a void expression from a function is forbidden. Please move it before the `return` statement.
Check warning on line 108 in packages/theme/src/cli/utilities/theme-fs.ts
github-actions / ESLint Report Analysis
packages/theme/src/cli/utilities/theme-fs.ts#L108
[@typescript-eslint/use-unknown-in-catch-callback-variable] Prefer the safe `: unknown` for a catch callback variable.
Check warning on line 136 in packages/theme/src/cli/utilities/theme-fs.ts
github-actions / ESLint Report Analysis
packages/theme/src/cli/utilities/theme-fs.ts#L136
[@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 136 in packages/theme/src/cli/utilities/theme-fs.ts
github-actions / ESLint Report Analysis
packages/theme/src/cli/utilities/theme-fs.ts#L136
[@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 158 in packages/theme/src/cli/utilities/theme-fs.ts
github-actions / ESLint Report Analysis
packages/theme/src/cli/utilities/theme-fs.ts#L158
[@typescript-eslint/use-unknown-in-catch-callback-variable] Prefer the safe `: unknown` for a catch callback variable.
Check warning on line 200 in packages/theme/src/cli/utilities/theme-fs.ts
github-actions / ESLint Report Analysis
packages/theme/src/cli/utilities/theme-fs.ts#L200
[@typescript-eslint/use-unknown-in-catch-callback-variable] Prefer the safe `: unknown` for a catch callback variable.