From 502ac7ee4d13669e644b9181f1e014ce0ea1f089 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 28 Sep 2017 17:25:28 +0300 Subject: Lint docs js too and use `strict consistently. (#24160) --- build/postcss.config.js | 2 ++ build/rollup.config.js | 2 ++ build/workbox.js | 2 ++ 3 files changed, 6 insertions(+) (limited to 'build') diff --git a/build/postcss.config.js b/build/postcss.config.js index 721e467c6..b34a0ce46 100644 --- a/build/postcss.config.js +++ b/build/postcss.config.js @@ -1,3 +1,5 @@ +'use strict' + module.exports = (ctx) => ({ map: ctx.file.dirname.startsWith('docs') ? false : { inline: false, diff --git a/build/rollup.config.js b/build/rollup.config.js index 0f1a023e8..9faeb0882 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -1,3 +1,5 @@ +'use strict' + const path = require('path') const babel = require('rollup-plugin-babel') const resolve = require('rollup-plugin-node-resolve') diff --git a/build/workbox.js b/build/workbox.js index 9d2bec27e..bae5b35cc 100644 --- a/build/workbox.js +++ b/build/workbox.js @@ -1,3 +1,5 @@ +'use strict' + const fs = require('fs') const path = require('path') const swBuild = require('workbox-build') -- cgit v1.2.3