Skip to content

Commit 39ab647

Browse files
committed
Babel shouldn’t be present in the “lintJS” task
1 parent 9f4ef68 commit 39ab647

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

gulpfile.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,8 @@ gulp.task(`transpileJSForProd`, function () {
163163
/**
164164
* LINT JAVASCRIPT
165165
*
166-
* This task sources all the JavaScript files in dev/scripts, lints them, then
167-
* transpiles to ES6. Errors/warnings are generated between the linting and
168-
* transpilation pipes using ESLint’s “compact” option for error reporting.
166+
* This task sources all the JavaScript files in dev/scripts and lints them.
167+
* Errors/warnings are formatted using ESLint’s “compact” option for error reporting.
169168
*
170169
* https://eslint.org/docs/user-guide/formatters/#compact
171170
*/
@@ -186,8 +185,7 @@ gulp.task(`lintJS`, function () {
186185
},
187186
extends: `eslint:recommended`
188187
}))
189-
.pipe(jsLinter.formatEach(`compact`, process.stderr))
190-
.pipe(babel());
188+
.pipe(jsLinter.formatEach(`compact`, process.stderr));
191189
});
192190

193191
/**

0 commit comments

Comments
 (0)