diff --git a/build/.eslintrc.json b/build/.eslintrc.json index 76e7f37b6348334aeae551261b2484708e9a7d41..220b6e1e56a4f7afbe6b4ceb6858b72c06c13590 100644 --- a/build/.eslintrc.json +++ b/build/.eslintrc.json @@ -4,7 +4,7 @@ "node": true }, "parserOptions": { - "sourceType": "script" + "sourceType": "module" }, "extends": "../.eslintrc.json", "rules": { diff --git a/build/build-plugins.js b/build/build-plugins.js index 22a179066986c50644f8590154ddd2ebe18dd8da..4e34b54c28018a2184cf38d73422e84a69605d73 100644 --- a/build/build-plugins.js +++ b/build/build-plugins.js @@ -5,8 +5,6 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -'use strict' - const rollup = require('rollup') const path = require('path') const babel = require('rollup-plugin-babel') diff --git a/build/change-version.js b/build/change-version.js index 7102dc0830d2986e49a41540fa251203b540e763..192c627101aa329e4986204d3833d228f22dad15 100755 --- a/build/change-version.js +++ b/build/change-version.js @@ -7,8 +7,6 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -'use strict' - const fs = require('fs') const path = require('path') const sh = require('shelljs') diff --git a/build/generate-sri.js b/build/generate-sri.js index 10936e8a1b64057b318dcd7a974e960786844ae5..4d5c25c44e067db22f62228d018214c6e2b117b0 100644 --- a/build/generate-sri.js +++ b/build/generate-sri.js @@ -10,8 +10,6 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -'use strict' - const fs = require('fs') const path = require('path') const sriToolbox = require('sri-toolbox') diff --git a/build/lint-vars.js b/build/lint-vars.js index 1b8d71cc69da657cacc31e73f3a66e77e65e40f1..8873d3670a876b7bc8d3aa19a985e72715459a85 100644 --- a/build/lint-vars.js +++ b/build/lint-vars.js @@ -7,8 +7,6 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -'use strict' - const fs = require('fs') const path = require('path') const glob = require('glob') diff --git a/build/postcss.config.js b/build/postcss.config.js index 157291ffd2e2a77e2ff31f64b547cb5d83b2c95c..7394ba382e8dbd92be36825c92251376cc92a08e 100644 --- a/build/postcss.config.js +++ b/build/postcss.config.js @@ -1,5 +1,3 @@ -'use strict' - module.exports = (ctx) => ({ map: ctx.file.dirname.includes('examples') ? false : { inline: false, diff --git a/build/rollup.config.js b/build/rollup.config.js index 93370d31dacc7fd18be8a8ee5dff1dc9eb989578..df88fb304d93501bb3a55541802bf70e231473c8 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -1,5 +1,3 @@ -'use strict' - const path = require('path') const babel = require('rollup-plugin-babel') const resolve = require('rollup-plugin-node-resolve') diff --git a/build/saucelabs-unit-test.js b/build/saucelabs-unit-test.js index b4d952536d8feaff5cfa6ecc1b371b3352d713a2..a84aa1dfefcf84742b457afb9977721eaca88fe6 100644 --- a/build/saucelabs-unit-test.js +++ b/build/saucelabs-unit-test.js @@ -12,8 +12,6 @@ Win Opera 15+ is not currently supported by Sauce Labs iOS Chrome is not currently supported by Sauce Labs */ -'use strict' - const path = require('path') const JSUnitSaucelabs = require('jsunitsaucelabs') diff --git a/build/vnu-jar.js b/build/vnu-jar.js index 111e0340991f3c70bca232e3f853775425b0dc26..5fd214a9d07fcc2c156edf1d792daa589fb5d4de 100644 --- a/build/vnu-jar.js +++ b/build/vnu-jar.js @@ -7,8 +7,6 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -'use strict' - const childProcess = require('child_process') const vnu = require('vnu-jar') diff --git a/build/workbox.js b/build/workbox.js index 3a7ba450a81bd31c46ec52766a1c8d5437bef74e..a8d955158562f1650e1fddfc0cacf1820655fa70 100644 --- a/build/workbox.js +++ b/build/workbox.js @@ -5,8 +5,6 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -'use strict' - const fs = require('fs') const path = require('path') const swBuild = require('workbox-build')