Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(typescript-estree): ensure --fix works with singleRun mode#3655

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JamesHenry merged 3 commits intomasterfromsingle-run-fix-mode
Aug 2, 2021

Conversation

JamesHenry
Copy link
Member

@JamesHenryJamesHenry commentedJul 23, 2021
edited
Loading

I realise this isn't the most sophisticated fix (and we can improve this further in the future by adding support for the catch-all builder program as we discussed as part of the long-term solution tocreateDefaultProgram) but for now this at least makes singleRun mode usable with--fix and in my basic testing locally it still yields a speed up over the same invocation without singleRun mode enabled.

Fixes#3626

@JamesHenryJamesHenry added bugSomething isn't working package: typescript-estreeIssues related to @typescript-eslint/typescript-estree labelsJul 23, 2021
@typescript-eslint
Copy link
Contributor

Thanks for the PR,@JamesHenry!

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 onhttps://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitorsper day.

@nx-cloud
Copy link

nx-cloudbot commentedJul 23, 2021
edited
Loading

@codecov
Copy link

codecovbot commentedJul 23, 2021
edited
Loading

Codecov Report

Merging#3655 (7393883) intomaster (84fff35) willincrease coverage by0.04%.
The diff coverage isn/a.

@@            Coverage Diff             @@##           master    #3655      +/-   ##==========================================+ Coverage   92.64%   92.68%   +0.04%==========================================  Files         326      325       -1       Lines       11253    11344      +91       Branches     3171     3201      +30     ==========================================+ Hits        10425    10514      +89- Misses        368      369       +1- Partials      460      461       +1
FlagCoverage Δ
unittest92.68% <ø> (+0.04%)⬆️

Flags with carried forward coverage won't be shown.Click here to find out more.

Impacted FilesCoverage Δ
packages/typescript-estree/src/node-utils.ts97.83% <0.00%> (ø)
packages/typescript-estree/src/simple-traverse.ts75.00% <0.00%> (ø)
...es/eslint-plugin/src/rules/no-loss-of-precision.ts91.66% <0.00%> (ø)
...tal-utils/src/ast-utils/eslint-utils/predicates.ts100.00% <0.00%> (ø)
packages/visitor-keys/src/visitor-keys.ts
packages/visitor-keys/src/get-keys.ts
...eslint-plugin/src/rules/prefer-return-this-type.ts90.47% <0.00%> (ø)
...ackages/eslint-plugin/src/rules/no-implied-eval.ts93.93% <0.00%> (+0.18%)⬆️
...pt-estree/src/create-program/createWatchProgram.ts77.27% <0.00%> (+0.23%)⬆️
packages/eslint-plugin/src/rules/return-await.ts97.02% <0.00%> (+1.15%)⬆️
... and6 more

uniqueiniquity
uniqueiniquity previously approved these changesJul 23, 2021
bradzacher
bradzacher previously approved these changesAug 1, 2021
@JamesHenryJamesHenry merged commit99eca0d intomasterAug 2, 2021
@JamesHenryJamesHenry deleted the single-run-fix-mode branchAugust 2, 2021 08:29
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsSep 2, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@bradzacherbradzacherbradzacher left review comments

@uniqueiniquityuniqueiniquityuniqueiniquity left review comments

Assignees
No one assigned
Labels
bugSomething isn't workingpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estree
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

[allowAutomaticSingleRunInference] auto fix mangles files
3 participants
@JamesHenry@bradzacher@uniqueiniquity

[8]ページ先頭

©2009-2025 Movatter.jp