Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-01-06 11:58:43 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-01-07 20:15:06 +0300
commit1213d06b2f185feafaca00706e9d64bf01a206a6 (patch)
treeb879dc6035b47582407e9be6023327883aa1646c
parentcdece35bdeb078f2d8e756de12eb1e3ea257561f (diff)
Enable cache for ESLint.
-rw-r--r--.eslintignore2
-rw-r--r--package.js4
-rw-r--r--package.json4
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",