From 1213d06b2f185feafaca00706e9d64bf01a206a6 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 6 Jan 2019 10:58:43 +0200 Subject: Enable cache for ESLint. --- .eslintignore | 2 ++ package.js | 4 +--- package.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.eslintignore b/.eslintignore index 96958b2ba8..9eb685cbe4 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,3 +2,5 @@ **/dist/ **/vendor/ /_gh_pages/ +/js/coverage/ +/package.js diff --git a/package.js b/package.js index 1c5be560e7..1ac9595335 100644 --- a/package.js +++ b/package.js @@ -1,9 +1,7 @@ // package metadata file for Meteor.js -/* eslint-env meteor */ - Package.describe({ - name: 'twbs:bootstrap', // https://atmospherejs.com/twbs/bootstrap + name: 'twbs:bootstrap', // https://atmospherejs.com/twbs/bootstrap summary: 'The most popular front-end framework for developing responsive, mobile first projects on the web.', version: '4.2.1', git: 'https://github.com/twbs/bootstrap.git' diff --git a/package.json b/package.json index e41612567b..c80e33aaaf 100644 --- a/package.json +++ b/package.json @@ -50,8 +50,8 @@ "js-compile-plugins": "node build/build-plugins.js", "js-compile-plugins-coverage": "cross-env NODE_ENV=test node build/build-plugins.js", "js-lint": "npm-run-all --parallel js-lint-*", - "js-lint-main": "eslint js/src js/tests build/", - "js-lint-docs": "eslint site/", + "js-lint-main": "eslint --cache --cache-location .cache/.eslintcache js/src js/tests build/", + "js-lint-docs": "eslint --cache --cache-location .cache/.eslintcache site/", "js-minify": "npm-run-all --parallel js-minify-main js-minify-docs", "js-minify-main": "npm-run-all js-minify-standalone js-minify-bundle", "js-minify-standalone": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.js.map,includeSources,url=bootstrap.min.js.map\" --output dist/js/bootstrap.min.js dist/js/bootstrap.js", -- cgit v1.2.3