Skip to content

Commit

Permalink
fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Schneider committed Mar 31, 2017
1 parent 4d82a9d commit 24d7639
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"less": "^2.5.1",
"less-loader": "^2.0.0",
"lodash": "^4.17.4",
"mocha": "^3.2.0",
"mocha": "3.2.0",
"mocha-lcov-reporter": "^1.0.0",
"nsp": "^2.6.1",
"raw-loader": "~0.5.0",
Expand Down
2 changes: 1 addition & 1 deletion test/benchmarkCases/libraries/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
entry: ["react", "react-dom", "lodash"]
}
};
2 changes: 1 addition & 1 deletion test/benchmarkCases/many-chunks/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
entry: "./index"
}
};
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
entry: "./index",
devtool: "eval-cheap-module-source-map"
}
};
2 changes: 1 addition & 1 deletion test/benchmarkCases/many-modules/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
entry: "./index"
}
};
2 changes: 1 addition & 1 deletion test/binCases/entry/multi-file/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = {};
module.exports = {};
2 changes: 1 addition & 1 deletion test/binCases/entry/named-entry/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = {};
module.exports = {};
2 changes: 1 addition & 1 deletion test/binCases/entry/non-hyphenated-args/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = {};
module.exports = {};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
module: {
strictExportPresence: true
}
module: {
strictExportPresence: true
}
};
2 changes: 2 additions & 0 deletions test/configCases/dll-plugin/1-use-dll/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
//eslint-disable-next-line
var webpack = require("../../../../");

module.exports = {
plugins: [
new webpack.DllReferencePlugin({
//eslint-disable-next-line
manifest: require("../../../js/config/dll-plugin/manifest0.json"),
name: "../0-create-dll/dll.js",
scope: "dll",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var path = require("path");
//eslint-disable-next-line
var webpack = require("../../../../");

module.exports = {
Expand All @@ -17,6 +18,7 @@ module.exports = {
},
plugins: [
new webpack.DllReferencePlugin({
//eslint-disable-next-line
manifest: require("../../../js/config/dll-plugin/manifest0.json"),
name: "../0-create-dll/dll.js",
context: path.resolve(__dirname, "../0-create-dll"),
Expand Down
6 changes: 3 additions & 3 deletions test/configCases/plugins/environment-plugin/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const EnvironmentPlugin = require("../../../../lib/EnvironmentPlugin");
var EnvironmentPlugin = require("../../../../lib/EnvironmentPlugin");

process.env.AAA = "aaa";
process.env.BBB = "bbb";
Expand Down Expand Up @@ -37,8 +37,8 @@ module.exports = [{
module: { unknownContextRegExp: /$^/, unknownContextCritical: false },
plugins: [
new EnvironmentPlugin({
GGG: 'ggg-default',
HHH: 'hhh'
GGG: "ggg-default",
HHH: "hhh"
})
]
}, {
Expand Down
5 changes: 3 additions & 2 deletions test/configCases/plugins/min-chunk-size/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
var webpack = require("../../../../")
//eslint-disable-next-line
var webpack = require("../../../../");

module.exports = {
plugins: [
new webpack.optimize.MinChunkSizePlugin({
minChunkSize: 30
})
]
}
};
2 changes: 2 additions & 0 deletions test/statsCases/warnings-uglifyjs/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
//eslint-disable-next-line
var webpack = require("webpack");

module.exports = {
entry: "./index",
output: {
filename: "bundle.js"
},
//eslint-disable-next-line
plugins: [new webpack.optimize.UglifyJsPlugin({
warningsFilter: function(filename) {
return /a\.js$/.test(filename);
Expand Down

0 comments on commit 24d7639

Please sign in to comment.