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

Fix .textlintignore support #72

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

Conversation

frozenbonito
Copy link
Contributor

@frozenbonito frozenbonito commented Aug 18, 2024

Fix #68.

.textlintignore support has broken at 8ee34bc because TextLintEngine.executeOnText() does not consider ignore file.
The same goes for linter.lintText(), which was added later.

This pull request will fix .textlintignore support using linter.scanFilePath() API which was added in textlint v14.1.0.
If user's textlint version is lower than v14.1.0, .textlintignore is simply ignored and other features works fine.

Related textlint issue:

@frozenbonito frozenbonito changed the title Fix textlintignore support Fix .textlintignore support Aug 18, 2024
@frozenbonito
Copy link
Contributor Author

@vscode/test-electron v1 fails to download VS Code, so I updated it to the latest version.

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.

Unable to load .textlintignore in vscode-textlint v0.11.0
1 participant