-
Notifications
You must be signed in to change notification settings - Fork 944
feature: add misspell tool to check English words #1304
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
feature: add misspell tool to check English words #1304
Conversation
|
In this test, we have already found: So it turns out that misspell works very well. |
Codecov Report
@@ Coverage Diff @@
## master #1304 +/- ##
==========================================
+ Coverage 16.42% 16.45% +0.02%
==========================================
Files 182 182
Lines 11303 11285 -18
==========================================
Hits 1857 1857
+ Misses 9310 9292 -18
Partials 136 136
|
.circleci/config.yml
Outdated
| find ./ -name "*.md" | grep -v vendor | grep -v extra | grep -v commandline | grep -v .github | grep -v swagger | grep -v api | xargs mdl -r ~MD010,~MD013,~MD024,~MD029,~MD033,~MD036 | ||
| - run: | ||
| name: use opensource tool client9/misspell to correct commonly misspelled English words | ||
| command: find ./ -name "*" | grep -v extra | grep -v vendor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@allencloud Forgot to execute misspell? xargs misspell -error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, Thanks goodness. I am afraid I made a mistake in git commit.
27ea329 to
87a2671
Compare
Signed-off-by: Allen Sun <[email protected]>
|
LGTM |
Signed-off-by: Allen Sun [email protected]
Ⅰ. Describe what this PR did
I add tool misspell to check incorrect English words spelling in this project.
I combined this feature in CI with test type of markdownlint.
In addition I use a new Dockerfile to construct new image
allencloud/mdlmisspell:v0.1:Ⅱ. Does this pull request fix one issue?
none
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
This addition would checkout one typo.
Ⅴ. Special notes for reviews
none