]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Clean up globals.
authorXhmikosR <xhmikosr@gmail.com>
Mon, 9 Apr 2018 09:08:46 +0000 (12:08 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 9 Apr 2018 19:44:22 +0000 (22:44 +0300)
Also, add a missing license header in build/workbox.js.

build/change-version.js
build/lint-vars.js
build/workbox.js
js/tests/unit/.eslintrc.json
package.js

index 25283c44ab82e888080bdd59cd139380437232a4..7102dc0830d2986e49a41540fa251203b540e763 100755 (executable)
@@ -1,7 +1,5 @@
 #!/usr/bin/env node
 
-'use strict'
-
 /*!
  * Script to update version number references in the project.
  * Copyright 2017-2018 The Bootstrap Authors
@@ -9,7 +7,7 @@
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
 
-/* global Set */
+'use strict'
 
 const fs = require('fs')
 const path = require('path')
index 21dc556969c6bc4ecb0e2578a9859a04523080f0..1b8d71cc69da657cacc31e73f3a66e77e65e40f1 100644 (file)
@@ -2,7 +2,6 @@
 
 /*!
  * Script to find unused Sass variables.
- *
  * Copyright 2017-2018 The Bootstrap Authors
  * Copyright 2017-2018 Twitter, Inc.
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
index 0363aa59a457adcc053f843944f2952bf90bd589..1aa6a608a8b1b717d02f9573bb293ab18eae6ebc 100644 (file)
@@ -1,3 +1,10 @@
+/*!
+ * Script to generate our docs service worker.
+ * Copyright 2017-2018 The Bootstrap Authors
+ * Copyright 2017-2018 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
 'use strict'
 
 const fs = require('fs')
index f03726543b52f7e7cce88a12a04076e342b99dd2..93aaa05f821adbbf5401992e91344602d832b49d 100644 (file)
@@ -1,13 +1,13 @@
 {
   "env": {
     "es6": false,
-    "qunit": true,
-    "jquery": true
+    "jquery": true,
+    "qunit": true
   },
   "globals": {
+    "bootstrap": false,
     "sinon": false,
-    "Util": false,
-    "bootstrap": false
+    "Util": false
   },
   "parserOptions": {
     "ecmaVersion": 5,
index 05449cf92d7a06944283ffd5d2709a2b0151e00a..556ad2d78abdc133970e7f1b806bc1eb489c8f2d 100644 (file)
@@ -1,6 +1,6 @@
 // package metadata file for Meteor.js
 
-/* global Package:true */
+/* eslint-env meteor */
 
 Package.describe({
   name: 'twbs:bootstrap',  // https://atmospherejs.com/twbs/bootstrap