diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-04-09 12:08:46 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-04-09 22:44:22 +0300 |
commit | 875ed0b975a587fffcc1b0c632e1cc8f612ebc5a (patch) | |
tree | 15f77e5f0a34771973fe04e080d7403de05cd696 | |
parent | 8f7bd419935adfcd53c471a0202083464800619e (diff) |
Clean up globals.
Also, add a missing license header in build/workbox.js.
-rwxr-xr-x | build/change-version.js | 4 | ||||
-rw-r--r-- | build/lint-vars.js | 1 | ||||
-rw-r--r-- | build/workbox.js | 7 | ||||
-rw-r--r-- | js/tests/unit/.eslintrc.json | 8 | ||||
-rw-r--r-- | package.js | 2 |
5 files changed, 13 insertions, 9 deletions
diff --git a/build/change-version.js b/build/change-version.js index 25283c44ab..7102dc0830 100755 --- a/build/change-version.js +++ b/build/change-version.js @@ -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') diff --git a/build/lint-vars.js b/build/lint-vars.js index 21dc556969..1b8d71cc69 100644 --- a/build/lint-vars.js +++ b/build/lint-vars.js @@ -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) diff --git a/build/workbox.js b/build/workbox.js index 0363aa59a4..1aa6a608a8 100644 --- a/build/workbox.js +++ b/build/workbox.js @@ -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') diff --git a/js/tests/unit/.eslintrc.json b/js/tests/unit/.eslintrc.json index f03726543b..93aaa05f82 100644 --- a/js/tests/unit/.eslintrc.json +++ b/js/tests/unit/.eslintrc.json @@ -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, diff --git a/package.js b/package.js index 05449cf92d..556ad2d78a 100644 --- a/package.js +++ b/package.js @@ -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 |