Skip to content

Commit

Permalink
enable eslint cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Apr 5, 2017
1 parent d0e9c3d commit 9a61ee4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -15,3 +15,4 @@ coverage
test/integration/**/index.html
test/integration/**/actual.png
test/integration/**/diff.png
.eslintcache
1 change: 1 addition & 0 deletions circle.yml
Expand Up @@ -10,6 +10,7 @@ dependencies:
cache_directories:
- './nvm'
- '~/.yarn'
- '.eslintcache'
override:
- ./ci-scripts/dependencies.sh
test:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -113,7 +113,7 @@
"build-docs": "flow-node docs/style-spec/_generate/generate.js && documentation build --github --format html --config ./docs/documentation.yml --theme ./docs/_theme --output docs/api/ src/index.js",
"build": "npm run build-docs # invoked by publisher when publishing docs on the mb-pages branch",
"start-docs": "npm run build-min && npm run build-docs && jekyll serve --watch",
"lint": "eslint --ignore-path .gitignore src test bench docs/_posts/examples/*.html debug/*.html",
"lint": "eslint --cache --ignore-path .gitignore src test bench docs/_posts/examples/*.html debug/*.html",
"lint-docs": "documentation lint src/index.js",
"open-changed-examples": "git diff --name-only mb-pages HEAD -- docs/_posts/examples/*.html | awk '{print \"http://127.0.0.1:4000/mapbox-gl-js/example/\" substr($0,33,length($0)-37)}' | xargs open",
"test": "run-s lint test-unit test-flow",
Expand Down

0 comments on commit 9a61ee4

Please sign in to comment.