You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What file type (Markdown, plain text, etc.) are you using?
Markdown with Jekyll frontmatter
What did you do? Please include the actual source code causing the issue.
I have configured .textlintrc.json in my project's root directory with all the necessary configuration and it works fine locally when I run yarn lint:text (which internally executes textlint '_posts/*.md') and no errors are reported (when files are as per the rules I've defined).
However, on Travis CI where I have textlint build running on one of the stages, spellchecker itself fails complaining about several words present in the file. I also tried updating my package.json script target to explicitly specific -c .textlintrc.json in the textlint command but that doesn't help either.
What did you expect to happen?
textlint should pass on CI job similar to how it does locally provided that all other linting jobs are passing on CI.
The text was updated successfully, but these errors were encountered:
Ah interesting, I tested linter on macOS Mojave and Ubuntu 19.10, although Travis is using 18.04. For now I have commented out textlint job from my .travis.yml but I wonder if this can be configured to manually specify a third-party spell-checker that can be also be included in devDependencies. 🤔
Given that this is tricky problem and will require considerable work on spellchecker part, would there be a way to disable just spellchecker based on some env variable (that I can enable from Travis)?
What version of textlint are you using?
v11.3.1
What file type (Markdown, plain text, etc.) are you using?
Markdown with Jekyll frontmatter
What did you do? Please include the actual source code causing the issue.
I have configured
.textlintrc.json
in my project's root directory with all the necessary configuration and it works fine locally when I runyarn lint:text
(which internally executestextlint '_posts/*.md'
) and no errors are reported (when files are as per the rules I've defined).However, on Travis CI where I have textlint build running on one of the stages,
spellchecker
itself fails complaining about several words present in the file. I also tried updating mypackage.json
script target to explicitly specific-c .textlintrc.json
in the textlint command but that doesn't help either.What did you expect to happen?
textlint should pass on CI job similar to how it does locally provided that all other linting jobs are passing on CI.
The text was updated successfully, but these errors were encountered: