File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function resolve (dir) {
8
8
return path . join ( __dirname , '..' , dir )
9
9
}
10
10
11
- const createLintingRule = ( ) => ( {
11
+ { { #lint } } const createLintingRule = ( ) => ( {
12
12
test : / \. ( j s | v u e ) $ / ,
13
13
loader : 'eslint-loader' ,
14
14
enforce : 'pre' ,
@@ -17,7 +17,7 @@ const createLintingRule = () => ({
17
17
formatter : require ( 'eslint-friendly-formatter' ) ,
18
18
emitWarning : ! config . dev . showEslintErrorsInOverlay
19
19
}
20
- } )
20
+ } ) { { / lint } }
21
21
22
22
module . exports = {
23
23
context : path . resolve ( __dirname , '../' ) ,
Original file line number Diff line number Diff line change @@ -20,13 +20,14 @@ module.exports = {
20
20
notifyOnErrors : true ,
21
21
poll : false , // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
22
22
23
- // Use Eslint Loader?
23
+ { { #lint } } // Use Eslint Loader?
24
24
// If true, your code will be linted during bundling and
25
25
// linting errors and warnings will be shown in the console.
26
26
useEslint: true ,
27
27
// If true, eslint errors and warnings will also be shown in the error overlay
28
28
// in the browser.
29
29
showEslintErrorsInOverlay : false ,
30
+ { { / l i n t } }
30
31
31
32
/**
32
33
* Source Maps
You can’t perform that action at this time.
0 commit comments