Skip to content

[WIP] chore(eslint): upgrade eslint to v9 #6137

[WIP] chore(eslint): upgrade eslint to v9

[WIP] chore(eslint): upgrade eslint to v9 #6137

Triggered via pull request January 26, 2025 16:31
Status Failure
Total duration 4m 8s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 14 warnings
⬣ ESLint: packages/cli/assets/vite/vite.config.js#L1
"vite" is not published
⬣ ESLint: packages/cli/assets/vite/vite.config.js#L4
"@remix-run/dev" is extraneous
⬣ ESLint: packages/cli/assets/vite/vite.config.js#L5
"vite-tsconfig-paths" is not published
⬣ ESLint: packages/cli/assets/vite/vite.config.js#L30
tsdoc-malformed-html-name: Invalid HTML element: Expecting an HTML name
⬣ ESLint: packages/cli/assets/vite/vite.config.js#L30
tsdoc-escape-greater-than: The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
⬣ ESLint: packages/cli/assets/vite/vite.config.js#L33
tsdoc-escape-greater-than: The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
⬣ ESLint: packages/cli/assets/vite/vite.config.js#L34
tsdoc-escape-greater-than: The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
⬣ ESLint: packages/cli/src/commands/hydrogen/deploy.test.ts#L618
'_reject' is defined but never used
⬣ ESLint: packages/cli/src/commands/hydrogen/deploy.test.ts#L638
'_' is assigned a value but never used
⬣ ESLint: packages/cli/src/commands/hydrogen/deploy.test.ts#L647
Expected property shorthand
⬣ Unit tests
@shopify/cli-hydrogen#test: command (/home/runner/work/hydrogen/hydrogen/packages/cli) /opt/hostedtoolcache/node/20.18.1/x64/bin/npm run test exited (1)
⬣ Unit tests
Process completed with exit code 1.
⬣ Prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
⬣ ESLint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
⬣ ESLint: packages/hydrogen/src/cart/CartForm.custom.example.tsx#L38
'status' is never reassigned. Use 'const' instead
⬣ ESLint: packages/hydrogen/src/cart/CartForm.example.tsx#L37
'status' is never reassigned. Use 'const' instead
⬣ ESLint: packages/hydrogen/src/cart/CartForm.fetcher.example.tsx#L59
'status' is never reassigned. Use 'const' instead
⬣ ESLint: packages/hydrogen/src/cart/CartForm.input-tag.example.tsx#L27
'status' is never reassigned. Use 'const' instead
⬣ ESLint: packages/hydrogen/src/csp/createContentSecurityPolicy.example.tsx#L3
Using exported name 'isbot' as identifier for default import
⬣ ESLint: packages/hydrogen/src/customer/customer.auth-handler.example.tsx#L4
'@shopify/hydrogen' imported multiple times
⬣ ESLint: packages/hydrogen/src/customer/customer.auth-handler.example.tsx#L11
'@shopify/remix-oxygen' imported multiple times
⬣ ESLint: packages/hydrogen/src/customer/customer.auth-handler.example.tsx#L111
'@shopify/hydrogen' imported multiple times
⬣ ESLint: packages/hydrogen/src/customer/customer.auth-handler.example.tsx#L135
'@shopify/remix-oxygen' imported multiple times
⬣ ESLint: packages/hydrogen/src/customer/customer.opt-out-handler.example.tsx#L11
'@shopify/remix-oxygen' imported multiple times
Typescript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
⬣ Unit tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636