Skip to content

feat(typescript-estree): rename automaticSingleRunInference to disallowAutomaticSingleRunInference #8922

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

JoshuaKGoldberg
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg commented Apr 15, 2024

BREAKING:
Switches the name and default behavior of a parsing option.

PR Checklist

Overview

Renames allowAutomaticSingleRunInference to disallowAutomaticSingleRunInference, so that we can keep to having no options enabled by default. The "happy path" is for users to never interact with this option: it should "just" be on and working by default.

Manually specifies disallowAutomaticSingleRunInference in quite a few Jest tests that work with manual parsing. Turns out sharing that state can really mess up some tests.

💖

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @JoshuaKGoldberg!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint.

Copy link

netlify bot commented Apr 15, 2024

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit dd20f36
🔍 Latest deploy log https://app.netlify.com/sites/typescript-eslint/deploys/661da4c3057ff90008a52bd6
😎 Deploy Preview https://deploy-preview-8922--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 99 (🟢 up 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 98 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

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

@JoshuaKGoldberg JoshuaKGoldberg changed the base branch from main to v8 April 22, 2024 20:41
@JoshuaKGoldberg JoshuaKGoldberg changed the title feat(typescript-estree): disallowAutomaticSingleRunInference, off (fast) by default feat(typescript-estree): rename automaticSingleRunInference to disallowAutomaticSingleRunInference Apr 22, 2024
@JoshuaKGoldberg JoshuaKGoldberg added the breaking change This change will require a new major version to be released label Apr 22, 2024
@JoshuaKGoldberg JoshuaKGoldberg added this to the 8.0.0 milestone Apr 22, 2024
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review April 22, 2024 21:19
@JoshuaKGoldberg JoshuaKGoldberg merged commit 5650142 into typescript-eslint:v8 Apr 26, 2024
55 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the single-run-inference-by-default branch April 26, 2024 13:45
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking change This change will require a new major version to be released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: Default allowAutomaticSingleRunInference to true
2 participants