eslint.org icon indicating copy to clipboard operation
eslint.org copied to clipboard

fix: remove `ecmaFeatures.globalReturn` from playground

Open Pixel998 opened this issue 2 months ago • 9 comments

Prerequisites checklist

What is the purpose of this pull request?

Remove the ecmaFeatures.globalReturn option from the Playground to stay compatible with the next ESLint release, where this option will be removed.

What changes did you make? (Give an overview)

Removed globalReturn from the ECMA features allowlist

Related Issues

https://github.com/eslint/eslint/pull/20145

Is there anything you'd like reviewers to focus on?

Pixel998 avatar Sep 21 '25 08:09 Pixel998

Deploy Preview for new-eslint ready!

Built without sensitive environment variables

Name Link
Latest commit 67dce3a7b4e14110f178e681a23ba07bdb610cd7
Latest deploy log https://app.netlify.com/projects/new-eslint/deploys/68cfb540e95c3700083abd57
Deploy Preview https://deploy-preview-785--new-eslint.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 project configuration.

netlify[bot] avatar Sep 21 '25 08:09 netlify[bot]

Deploy Preview for fr-eslint ready!

Name Link
Latest commit 67dce3a7b4e14110f178e681a23ba07bdb610cd7
Latest deploy log https://app.netlify.com/projects/fr-eslint/deploys/68cfb54032200400089878cb
Deploy Preview https://deploy-preview-785--fr-eslint.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 project configuration.

netlify[bot] avatar Sep 21 '25 08:09 netlify[bot]

Deploy Preview for ja-eslint ready!

Name Link
Latest commit 67dce3a7b4e14110f178e681a23ba07bdb610cd7
Latest deploy log https://app.netlify.com/projects/ja-eslint/deploys/68cfb5404286f5000827646b
Deploy Preview https://deploy-preview-785--ja-eslint.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 project configuration.

netlify[bot] avatar Sep 21 '25 08:09 netlify[bot]

Deploy Preview for pt-br-eslint ready!

Name Link
Latest commit 67dce3a7b4e14110f178e681a23ba07bdb610cd7
Latest deploy log https://app.netlify.com/projects/pt-br-eslint/deploys/68cfb54098181400074704e8
Deploy Preview https://deploy-preview-785--pt-br-eslint.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 project configuration.

netlify[bot] avatar Sep 21 '25 08:09 netlify[bot]

Deploy Preview for zh-hans-eslint ready!

Name Link
Latest commit 67dce3a7b4e14110f178e681a23ba07bdb610cd7
Latest deploy log https://app.netlify.com/projects/zh-hans-eslint/deploys/68cfb5400c7b270008361228
Deploy Preview https://deploy-preview-785--zh-hans-eslint.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 project configuration.

netlify[bot] avatar Sep 21 '25 08:09 netlify[bot]

Deploy Preview for hi-eslint ready!

Name Link
Latest commit 67dce3a7b4e14110f178e681a23ba07bdb610cd7
Latest deploy log https://app.netlify.com/projects/hi-eslint/deploys/68cfb540c2958b00086de7b9
Deploy Preview https://deploy-preview-785--hi-eslint.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 project configuration.

netlify[bot] avatar Sep 21 '25 08:09 netlify[bot]

Deploy Preview for es-eslint ready!

Name Link
Latest commit 67dce3a7b4e14110f178e681a23ba07bdb610cd7
Latest deploy log https://app.netlify.com/projects/es-eslint/deploys/68cfb540b24edc00086b6acc
Deploy Preview https://deploy-preview-785--es-eslint.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 project configuration.

netlify[bot] avatar Sep 21 '25 08:09 netlify[bot]

Deploy Preview for de-eslint ready!

Name Link
Latest commit 67dce3a7b4e14110f178e681a23ba07bdb610cd7
Latest deploy log https://app.netlify.com/projects/de-eslint/deploys/68cfb5400c7b27000836122d
Deploy Preview https://deploy-preview-785--de-eslint.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 project configuration.

netlify[bot] avatar Sep 21 '25 08:09 netlify[bot]

As noted in https://github.com/eslint/js/issues/525#issuecomment-3446994749, we will revisit the decision to remove ecmaFeatures.globalReturn in v11. Until then, this pull request is blocked.

fasttime avatar Nov 01 '25 13:11 fasttime