Skip to content
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

Use updatecli@main config as a fallback #1342

Merged
merged 1 commit into from
May 25, 2023

Conversation

jsoref
Copy link
Contributor

@jsoref jsoref commented May 23, 2023

Sets the fallback for check-spelling for when it can't find its configuration.

Test

To test this pull request, you can run the following commands:

Refresh a currently unhappy PR (e.g. #1319)

Additional Information

When someone creates a PR from before check-spelling (v0.0.21) has been added, check-spelling doesn't have access to its configuration (unless you tell it what fallback to use). Using the main branch is a pretty sound fallback (any future branches for releases will almost certainly be long past the addition of check-spelling), and I don't expect someone to be creating a PR from before the addition of check-spelling into a branch with check-spelling.

Tradeoff

It looks a bit odd

Potential improvement

I should have caught that the value wasn't quite right, sorry, I'm human :).

In a future version of check spelling, I hope that check-spelling won't be confused and lose track of its configuration. I can't remember if I've fixed this, but I'll definitely make an effort to ensure the behavior is reasonable.

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
@olblak
Copy link
Member

olblak commented May 25, 2023

I should have caught that the value wasn't quite right, sorry, I'm human :).
As I am

Thank you for the contribution

@olblak olblak merged commit e98a541 into updatecli:main May 25, 2023
6 checks passed
@jsoref jsoref deleted the check-spelling-fallback branch May 25, 2023 14:55
@olblak olblak added the chore label May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants