Skip to content

Commit a29346a

Browse files
committed
Update comment to the “lintJS” task
1 parent c3c23c8 commit a29346a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gulpfile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ gulp.task(`compileJSForProd`, function () {
163163
/**
164164
* LINT JAVASCRIPT
165165
*
166-
* This task concatenates all the JS files in the dev/scripts folder into a single
167-
* file called app.js, then lints the file according to options listed in the object
168-
* passed to the linter. (ESLint is the linter in this file.)
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.
169169
*
170-
* Note: The concatenated file app.js is *not* written to a destination folder.
170+
* https://eslint.org/docs/user-guide/formatters/#compact
171171
*/
172172
gulp.task(`lintJS`, function () {
173173
return gulp.src(`dev/scripts/*.js`)

0 commit comments

Comments
 (0)