Skip to content

Commit

Permalink
chore: enable eslint cache
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondfeng committed Jun 3, 2019
1 parent 14b5863 commit 8dcbc3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ packages/tsdocs/fixtures/monorepo/docs
/sandbox/*
!/sandbox/README.md
!/sandbox/example/

# ESLint cache
.eslintcache

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"coverage": "open coverage/index.html",
"lint": "npm run prettier:check && npm run eslint && node bin/check-package-locks",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"eslint": "node packages/build/bin/run-eslint .",
"eslint:fix": "npm run eslint -- --fix",
"eslint": "node packages/build/bin/run-eslint --cache .",
"eslint:fix": "npm run eslint -- --cache --fix",
"prettier:cli": "node packages/build/bin/run-prettier \"**/*.ts\" \"**/*.js\" \"**/*.md\"",
"prettier:check": "npm run prettier:cli -- -l",
"prettier:fix": "npm run prettier:cli -- --write",
Expand Down

0 comments on commit 8dcbc3e

Please sign in to comment.