Skip to content

Commit c97e539

Browse files
committed
Fixing lint
1 parent 518dc4c commit c97e539

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/config-generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class ConfigGenerator {
198198
// entry file, not the file that contains the url()
199199
sassLoaders.push({
200200
loader: 'resolve-url-loader' + this.getSourceMapOption(),
201-
})
201+
});
202202
}
203203

204204
sassLoaders.push({

test/WebpackConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ describe('WebpackConfig object', () => {
262262

263263
it('Pass valid config', () => {
264264
const config = createConfig();
265-
config.enableSassLoader({resolve_url_loader: false});
265+
config.enableSassLoader({ resolve_url_loader: false });
266266

267267
expect(config.useSassLoader).to.be.true;
268268
expect(config.sassOptions.resolve_url_loader).to.be.false;
@@ -272,7 +272,7 @@ describe('WebpackConfig object', () => {
272272
const config = createConfig();
273273

274274
expect(() => {
275-
config.enableSassLoader({fake_option: false});
275+
config.enableSassLoader({ fake_option: false });
276276
}).to.throw('Invalid option "fake_option" passed to enableSassLoader()');
277277
});
278278
});

test/config-generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ describe('The config-generator function', () => {
315315
config.outputPath = '/tmp/output/public-path';
316316
config.publicPath = '/public-path';
317317
config.addEntry('main', './main');
318-
config.enableSassLoader({resolve_url_loader: false});
318+
config.enableSassLoader({ resolve_url_loader: false });
319319

320320
const actualConfig = configGenerator(config);
321321

0 commit comments

Comments
 (0)