Skip to content

Commit 2c4ee94

Browse files
committed
fix: remove extraneous whitespaces and make it pass eslint
1 parent ab32e74 commit 2c4ee94

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"env": {
3-
"node": true
3+
"node": true,
4+
"es6": true,
45
},
56
"rules": {
67
"strict": 0,

hotModuleReplacement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = function(publicPath, outputFilename) {
1212

1313
if (oldChunk === newChunk) {
1414
// date insures sheets update when [contenthash] is not used in file names
15-
var url = newHref + '?' + (+new Date);
15+
var url = newHref + '?' + (+new Date);
1616
styleSheets[i].href = url;
1717
console.log('[HMR]', 'Reload css: ', url);
1818
break;

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function getOrder(a, b) {
116116

117117
function ExtractTextPlugin(options) {
118118
options = options || {}
119-
119+
120120
if(arguments.length > 1) {
121121
throw new Error("Breaking change: ExtractTextPlugin now only takes a single argument. Either an options " +
122122
"object *or* the name of the result file.\n" +
@@ -390,6 +390,5 @@ ExtractTextPlugin.prototype.apply = function(compiler) {
390390
})
391391
callback()
392392
}.bind(this));
393-
394393
}.bind(this));
395394
};

0 commit comments

Comments
 (0)