Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

chore(build): add spellchecker github action #928

Merged
merged 2 commits into from
May 4, 2021

Conversation

kmova
Copy link
Contributor

@kmova kmova commented May 3, 2021

Add a GitHub workflow that can detect spell errors and report on the PR.

This commit also includes the fixes for the initial errors reported by this tool.

To verify this locally prior to commit:

  • Install cspell. npm install -g cspell
  • From the root directory. Run the command: cspell --config ./cSpell.json "**/*.md"

Sometimes the tool will display some valid words as errors since they are not part of a standard dictionary. You can customize the tool by adding the new words can be added to one of the following files:

  • hack/cspell-contributors.txt - company and user names
  • hack/cspell-ignore.txt - random text that is part of code output
  • hack/cspell-words.txt - technology words

Signed-off-by: kmova [email protected]

Add a github action that can detect spell errors
and report on the PR.

For terms that are not part of the standard
dictionary, the new words can be added to one of the
following files:
- hack/cspell-contributors.txt - company and user names
- hack/cspell-ignore.txt - random text that is part of code output
- hack/cspell-words.txt - technology words

Signed-off-by: kmova <[email protected]>
@kmova kmova requested a review from ranjithwingrider May 3, 2021 13:18
@netlify
Copy link

netlify bot commented May 3, 2021

Deploy preview for openebs-docs-staging ready!

Built with commit dd804c7

https://deploy-preview-928--openebs-docs-staging.netlify.app

@kmova kmova requested a review from muratkars May 3, 2021 17:52
Copy link
Contributor

@ranjithwingrider ranjithwingrider left a comment

Choose a reason for hiding this comment

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

@kmova I have done with my review. Please go through the comments.

docs/cassandra.md Outdated Show resolved Hide resolved
docs/faq.md Show resolved Hide resolved
docs/jivaguide.md Show resolved Hide resolved
docs/jivaguide.md Show resolved Hide resolved
docs/jivaguide.md Outdated Show resolved Hide resolved
docs/t-mayastor.md Show resolved Hide resolved
docs/t-mayastor.md Show resolved Hide resolved
docs/t-volume-provisioning.md Outdated Show resolved Hide resolved
docs/t-volume-provisioning.md Show resolved Hide resolved
docs/t-volume-provisioning.md Show resolved Hide resolved
@kmova kmova merged commit 994035f into openebs-archive:staging May 4, 2021
kmova added a commit that referenced this pull request May 16, 2021
Add a github action that can detect spell errors
and report on the PR.

For terms that are not part of the standard
dictionary, the new words can be added to one of the
following files:
- hack/cspell-contributors.txt - company and user names
- hack/cspell-ignore.txt - random text that is part of code output
- hack/cspell-words.txt - technology words


Signed-off-by: kmova <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants