Skip to content

Commit

Permalink
chore: pass cache option to textlint
Browse files Browse the repository at this point in the history
  • Loading branch information
BSKY committed Jan 23, 2020
1 parent 905fffe commit f628bb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,4 +1,5 @@
node_modules
.textlintcache

# We're using yarn, so no package-lock.json
package-lock.json
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -7,10 +7,10 @@
],
"license": "MIT",
"scripts": {
"format": "pretty-quick && textlint $(git diff master --name-only) --fix",
"format:full": "pretty-quick && textlint README.md docs/**/*.md --fix",
"lint": "textlint $(git diff master --name-only) -f pretty-error",
"lint:full": "textlint README.md docs/**/*.md -f pretty-error"
"format": "pretty-quick && textlint --cache $(git diff master --name-only) --fix",
"format:full": "pretty-quick && textlint --cache README.md docs/**/*.md --fix",
"lint": "textlint --cache $(git diff master --name-only) -f pretty-error",
"lint:full": "textlint --cache README.md docs/**/*.md -f pretty-error"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit f628bb0

Please sign in to comment.