Skip to content

chore: override semicolon lint rule#1656

Merged
kodiakhq[bot] merged 1 commit into
mainfrom
rs/fix-lint-semi-tule
Oct 4, 2022
Merged

chore: override semicolon lint rule#1656
kodiakhq[bot] merged 1 commit into
mainfrom
rs/fix-lint-semi-tule

Conversation

@orinokai

@orinokai orinokai commented Oct 4, 2022

Copy link
Copy Markdown
Contributor

There appears to be a conflict between @typescript-eslint/no-extra-semi (which is part of the @typescript-eslint/recommended config) and the prettier rule semi: false.

The prettier rule will add a semicolon in the following instance to protect from ASI failures.

https://github.com/netlify/next-runtime/blob/main/packages/runtime/src/helpers/config.ts#L95

However, the linter then complains because of the no-extra-semi rule.

Since we are removing semicolons anyway, I think we can safely disable the no-extra-semi rule.

@orinokai orinokai added the type: chore work needed to keep the product and development running smoothly label Oct 4, 2022
@orinokai orinokai requested a review from a team October 4, 2022 11:31
@orinokai orinokai self-assigned this Oct 4, 2022
@netlify

netlify Bot commented Oct 4, 2022

Copy link
Copy Markdown

Deploy Preview for netlify-plugin-nextjs-demo ready!

Name Link
🔨 Latest commit fdb3fdc
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-demo/deploys/633c1976e7c55b000812a062
😎 Deploy Preview https://deploy-preview-1656--netlify-plugin-nextjs-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify

netlify Bot commented Oct 4, 2022

Copy link
Copy Markdown

Deploy Preview for netlify-plugin-nextjs-static-root-demo ready!

Name Link
🔨 Latest commit fdb3fdc
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-static-root-demo/deploys/633c1976e7c55b000812a067
😎 Deploy Preview https://deploy-preview-1656--netlify-plugin-nextjs-static-root-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify

netlify Bot commented Oct 4, 2022

Copy link
Copy Markdown

Deploy Preview for netlify-plugin-nextjs-export-demo ready!

Name Link
🔨 Latest commit fdb3fdc
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-export-demo/deploys/633c19762575c4000a92dc20
😎 Deploy Preview https://deploy-preview-1656--netlify-plugin-nextjs-export-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify

netlify Bot commented Oct 4, 2022

Copy link
Copy Markdown

Deploy Preview for next-hp-edge-demo ready!

Name Link
🔨 Latest commit fdb3fdc
🔍 Latest deploy log https://app.netlify.com/sites/next-hp-edge-demo/deploys/633c197663907800086fdb5a
😎 Deploy Preview https://deploy-preview-1656--next-hp-edge-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify

netlify Bot commented Oct 4, 2022

Copy link
Copy Markdown

Deploy Preview for netlify-plugin-nextjs-nx-monorepo-demo ready!

Name Link
🔨 Latest commit fdb3fdc
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-nx-monorepo-demo/deploys/633c197635b422000919832f
😎 Deploy Preview https://deploy-preview-1656--netlify-plugin-nextjs-nx-monorepo-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify

netlify Bot commented Oct 4, 2022

Copy link
Copy Markdown

Deploy Preview for next-plugin-edge-middleware ready!

Name Link
🔨 Latest commit fdb3fdc
🔍 Latest deploy log https://app.netlify.com/sites/next-plugin-edge-middleware/deploys/633c197635b4220009198334
😎 Deploy Preview https://deploy-preview-1656--next-plugin-edge-middleware.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify

netlify Bot commented Oct 4, 2022

Copy link
Copy Markdown

Deploy Preview for next-plugin-rsc-demo ready!

Name Link
🔨 Latest commit fdb3fdc
🔍 Latest deploy log https://app.netlify.com/sites/next-plugin-rsc-demo/deploys/633c19762575c4000a92dc25
😎 Deploy Preview https://deploy-preview-1656--next-plugin-rsc-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify

netlify Bot commented Oct 4, 2022

Copy link
Copy Markdown

Deploy Preview for next-plugin-canary ready!

Name Link
🔨 Latest commit fdb3fdc
🔍 Latest deploy log https://app.netlify.com/sites/next-plugin-canary/deploys/633c19767a6ee60008d32de3
😎 Deploy Preview https://deploy-preview-1656--next-plugin-canary.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify

netlify Bot commented Oct 4, 2022

Copy link
Copy Markdown

Deploy Preview for netlify-plugin-nextjs-next-auth-demo ready!

Name Link
🔨 Latest commit fdb3fdc
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-next-auth-demo/deploys/633c1976e92bf80008c8f20c
😎 Deploy Preview https://deploy-preview-1656--netlify-plugin-nextjs-next-auth-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify

netlify Bot commented Oct 4, 2022

Copy link
Copy Markdown

Deploy Preview for nextjs-plugin-custom-routes-demo ready!

Name Link
🔨 Latest commit fdb3fdc
🔍 Latest deploy log https://app.netlify.com/sites/nextjs-plugin-custom-routes-demo/deploys/633c1976e92bf80008c8f211
😎 Deploy Preview https://deploy-preview-1656--nextjs-plugin-custom-routes-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify

netlify Bot commented Oct 4, 2022

Copy link
Copy Markdown

Deploy Preview for next-i18next-demo ready!

Name Link
🔨 Latest commit fdb3fdc
🔍 Latest deploy log https://app.netlify.com/sites/next-i18next-demo/deploys/633c197635b4220009198339
😎 Deploy Preview https://deploy-preview-1656--next-i18next-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@ascorbic ascorbic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this also be disabled in the shared eslint package?

@orinokai

orinokai commented Oct 4, 2022

Copy link
Copy Markdown
Contributor Author

@ascorbic Yes indeed, I popped a PR in there earlier netlify/eslint-config-node#585

@kodiakhq kodiakhq Bot merged commit f5b293c into main Oct 4, 2022
@kodiakhq kodiakhq Bot deleted the rs/fix-lint-semi-tule branch October 4, 2022 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge type: chore work needed to keep the product and development running smoothly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants