Skip to content

Commit

Permalink
fix: enable linting changed files with textlint
Browse files Browse the repository at this point in the history
textlint was expensive to run because we added every file in the list of
files to lint to FILE_ARRAY_NATURAL_LANGUAGE. In #5041, we mitigated
this issue but lost the ability to run textlint on changed files only.
Given that textlint ignore files for which it doesn't have a plugin
installed, and that we don't currently install additional plugins
besides the default ones to lint markdown files and text files, we let
textlint run on these files only, so we can have the feature to lint
only changed files with this linter as well, back.
  • Loading branch information
ferrarimarco committed Jan 6, 2024
1 parent e62b382 commit c7314ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 189 deletions.
Loading

0 comments on commit c7314ce

Please sign in to comment.