]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Enable cache for ESLint.
authorXhmikosR <xhmikosr@gmail.com>
Sun, 6 Jan 2019 08:58:43 +0000 (10:58 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 7 Jan 2019 17:15:06 +0000 (19:15 +0200)
.eslintignore
package.js
package.json

index 96958b2ba8645044d2cc8e58bcc9de684114a479..9eb685cbe4764d2c7062a06c269c8fcd8daa17e3 100644 (file)
@@ -2,3 +2,5 @@
 **/dist/
 **/vendor/
 /_gh_pages/
+/js/coverage/
+/package.js
index 1c5be560e7ff353cb0be00040899e07dced2b24f..1ac95953358efcff6f91493112bac7851e306885 100644 (file)
@@ -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'
index e41612567b6f9854d27a3826cf02556bec0fefce..c80e33aaaf9055d907234b1850d07b286f5b7a18 100644 (file)
@@ -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",