File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ const vueLoaderConfig = require('./vue-loader.conf')
7
7
function resolve ( dir ) {
8
8
return path . join ( __dirname , '..' , dir )
9
9
}
10
-
11
- const createLintingRule = ( ) => ( {
10
+ { { #lint} } const createLintingRule = ( ) => ( {
12
11
test : / \. ( j s | v u e ) $ / ,
13
12
loader : 'eslint-loader' ,
14
13
enforce : 'pre' ,
@@ -17,7 +16,7 @@ const createLintingRule = () => ({
17
16
formatter : require ( 'eslint-friendly-formatter' ) ,
18
17
emitWarning : ! config . dev . showEslintErrorsInOverlay
19
18
}
20
- } )
19
+ } ) { { / lint } }
21
20
22
21
module . exports = {
23
22
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