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

docs: add spell checker to ci #743

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

achingbrain
Copy link
Member

Adds cspell to CI to catch typos in code and docs.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

@achingbrain achingbrain requested a review from a team as a code owner February 23, 2025 22:33
Adds cspell to CI to catch typos in code and docs.
@achingbrain achingbrain force-pushed the docs/add-spellcheck-to-ci branch from f620b57 to b9ec6c7 Compare February 24, 2025 10:14
@achingbrain achingbrain mentioned this pull request Feb 24, 2025
@@ -57,12 +57,12 @@ export interface WantListEntry {
/**
* Whether the remote should tell us if they have the block or not
*/
sendDontHave: boolean
sendDoNotHave: boolean
Copy link
Member

Choose a reason for hiding this comment

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

Since we export this interface, does this qualify as a breaking change?

@@ -31,14 +31,15 @@
"lint": "aegir run lint",
"dep-check": "aegir run dep-check",
"doc-check": "aegir run doc-check",
"spell-check": "aegir spell-check",
Copy link
Member

Choose a reason for hiding this comment

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

Should we add a check script that runs all 4:

    - npm run lint
    - npm run dep-check
    - npm run doc-check
    - npm run spell-check

Specifically, this seems like it would be useful for external contributors, when checks fails to run, they can fix locally quickly, without familiarity with each of the scripts.

Copy link
Member

@2color 2color left a comment

Choose a reason for hiding this comment

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

Nice

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.

2 participants