Skip to content

Commit cdfa650

Browse files
author
benholloway
committed
remove redundant jshint directive
1 parent ca9114b commit cdfa650

File tree

8 files changed

+1
-9
lines changed

8 files changed

+1
-9
lines changed

config/add/browser-sync.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ var glob = require('glob'),
1313
* @returns {Config} The given webpack-configurator instance
1414
*/
1515
function browserSync(directory, port) {
16-
/* jshint validthis:true */
1716
return this
1817
.plugin('browser-sync', BrowserSyncPlugin, [{
1918
host : 'localhost',

config/add/clean.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ var CleanPlugin = require('clean-webpack-plugin');
99
* @returns {Config} The given webpack-configurator instance
1010
*/
1111
function clean(directory) {
12-
/* jshint validthis:true */
1312
return this
1413
.plugin('clean', CleanPlugin, [
1514
directory,

config/add/common.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ var webpack = require('webpack'),
1616
* @returns {Config} The given webpack-configurator instance
1717
*/
1818
function common(loaderRoot, options) {
19-
/* jshint validthis:true */
2019
var vendorEntry = path.resolve(options.appDir, 'vendor.js');
2120

2221
// Note that DedupePlugin causes problems when npm linked so we will ommit it from the common configuration

config/add/composition.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ var IndexHTMLPlugin = require('indexhtml-webpack-plugin'),
1212
* @returns {Config} The given webpack-configurator instance
1313
*/
1414
function composition(item) {
15-
/* jshint validthis:true */
1615
return this
1716
.merge({
18-
name : ['app'].concat(composition.namespace).join(':'),
17+
name : ['app'].concat(item.namespace).join(':'),
1918
entry: {
2019
'index-html': item.htmlFiles,
2120
index : item.indexFiles

config/add/conditionals.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ var webpack = require('webpack');
99
* @returns {Config} The given webpack-configurator instance
1010
*/
1111
function conditionals(flags) {
12-
/* jshint validthis:true */
1312
return this
1413
.plugin('conditionals', webpack.ProvidePlugin, [flags]);
1514
}

config/add/external-chunk-manifest.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ var ChunkManifestPlugin = require('chunk-manifest-webpack-plugin');
99
* @returns {Config} The given webpack-configurator instance
1010
*/
1111
function externalChunkManifest() {
12-
/* jshint validthis:true */
1312
return this
1413
.plugin('chunk-manifest', ChunkManifestPlugin);
1514
}

config/add/minification.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ var ESManglePlugin = require('esmangle-webpack-plugin');
99
* @returns {Config} The given webpack-configurator instance
1010
*/
1111
function minification(enabled) {
12-
/* jshint validthis:true */
1312
if (enabled) {
1413
this
1514
.plugin('minification', ESManglePlugin, [

config/add/test-suite-generation.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ var EntryGeneratorPlugin = require('entry-generator-webpack-plugin');
1010
* @returns {Config} The given webpack-configurator instance
1111
*/
1212
function testSuiteGeneration(outputFile, testGlob) {
13-
/* jshint validthis:true */
1413
return this
1514
.plugin('generate-test', EntryGeneratorPlugin, [
1615
outputFile,

0 commit comments

Comments
 (0)