Canonical
Using Canonical does not require a Gulp plugin. Canonical program interface gives access to all features. Use Canonical API in combination with a glob pattern matcher (e.g. globby) to lint multiple files, e.g.
;; ; gulp;
This example is written using ES6 syntax. If you want your gulpfile.js
to use ES6 syntax, you have to execute it using Babel or an equivalent code-to-code compiler (ES6 to ES6), e.g.
babel-node ./node_modules/.bin/gulp lint-javascript