Showing
1 changed file
with
2 additions
and
0 deletions
@@ -11,9 +11,11 @@ const jsfiles = ['.', 'public/vue']; | @@ -11,9 +11,11 @@ const jsfiles = ['.', 'public/vue']; | ||
11 | const cssfiles = ['public/scss/**/*.css', 'public/vue/**/*.vue']; | 11 | const cssfiles = ['public/scss/**/*.css', 'public/vue/**/*.vue']; |
12 | 12 | ||
13 | jsfiles.forEach(function(filepath) { | 13 | jsfiles.forEach(function(filepath) { |
14 | + console.log('JS 检查结果:'); | ||
14 | shelljs.exec(`${lintPath.js}${ext} -f table -c .eslintrc --cache ${filepath}`); | 15 | shelljs.exec(`${lintPath.js}${ext} -f table -c .eslintrc --cache ${filepath}`); |
15 | }); | 16 | }); |
16 | 17 | ||
17 | cssfiles.forEach(function(filepath) { | 18 | cssfiles.forEach(function(filepath) { |
19 | + console.log('CSS 检查结果:'); | ||
18 | shelljs.exec(`${lintPath.css}${ext} --syntax scss --config .stylelintrc --custom-formatter ./node_modules/stylelint-formatter-table/index.js '${filepath}'`); // eslint-disable-line | 20 | shelljs.exec(`${lintPath.css}${ext} --syntax scss --config .stylelintrc --custom-formatter ./node_modules/stylelint-formatter-table/index.js '${filepath}'`); // eslint-disable-line |
19 | }); | 21 | }); |
-
Please register or login to post a comment