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

feat: Add spellr gem for automatic spell-checking #312

Closed
wants to merge 1 commit into from

Conversation

robotdana
Copy link
Contributor

@robotdana robotdana commented Jul 18, 2022

see https://github.com/robotdana/spellr for some reasons that i find having a spell checker useful

also it seemed like a fitting first pr

@robotdana robotdana force-pushed the dana/add-spellr branch 3 times, most recently from 5180e2c to c14aac2 Compare July 18, 2022 06:25
the default wordlist may need expanding when doing rails new
Copy link
Contributor

@G-Rath G-Rath left a comment

Choose a reason for hiding this comment

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

I'm not against this but also am not jumping for joy over it as I'm not sure if it's something we really want to have our CI failing on but it's also possible I'm overthinking it 😅

I won't approve for now because I'm interested in how others feel first, but I do think that the typos you have fixed are something we want so if you can be bothered cherry-picking those into another PR I'd be happy to approve that.

Also does spellr support pulling from a remote source? That could be cool if we do decide to land this, as we could have a wordlist repo that we source common words from rather than having to duplicate the whole list across every project.

echo "* ******************************************************"
echo "* Running spellr"
echo "* ******************************************************"
bundle exec spellr
Copy link
Contributor

Choose a reason for hiding this comment

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

🐘 I think it's probably better to have this before our heavier checks (probably even as the first check) because I assume its a lot faster and it'd be better to have your CI fail on spelling before rather than after it runs the 20m+ test suite...

@eoinkelly
Copy link
Contributor

I share @G-Rath's hesitation about landing this as a CI check but I'm enthusiastic about landing the spelling fixes it found. This might be one we want to live with on a project or two first before we land it here?

@robotdana
Copy link
Contributor Author

Also does spellr support pulling from a remote source?

no, but it could: robotdana/spellr#82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants