Skip to content

Commit

Permalink
fix - enabled eslint cache, added .eslintcache checksum file to travi…
Browse files Browse the repository at this point in the history
…s cache
  • Loading branch information
tony-blockchain committed Jul 6, 2018
1 parent f53c98f commit c1afd5e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ npm-shrinkwrap.json
yarn-error.log
yarn.lock

# Eslint
.eslintcache

# Generated Files
*.log
*.lerna_backup
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ cache:
- packages/blockchain-info-components/node_modules
- packages/blockchain-wallet-v4/node_modules
- packages/blockchain-wallet-v4-frontend/node_modules
- .eslintcache

before_install:
- npm install -g lerna yarn babel-cli rimraf cross-env
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"coverage:components": "lerna exec --scope blockchain-info-components -- npm run coverage",
"coverage:core": "lerna exec --scope blockchain-wallet-v4 -- npm run coverage",
"coverage:frontend": "lerna exec --scope blockchain-wallet-v4-frontend -- npm run coverage",
"lint": "eslint './packages/*/src/**/*.js'",
"lint": "eslint --cache './packages/*/src/**/*.js'",
"lint:components": "eslint './packages/blockchain-info-components/src/**/*.js'",
"lint:core": "eslint './packages/blockchain-wallet-v4/src/**/*.js'",
"lint:fix": "eslint './packages/*/src/**/*.js' --fix",
Expand Down

0 comments on commit c1afd5e

Please sign in to comment.