sl-gt-synclint

gulp task for sync lint from a npm package

Usage no npm install needed!

<script type="module">
  import slGtSynclint from 'https://cdn.skypack.dev/sl-gt-synclint';
</script>

README

gulp task for sync lint set

Sample

Usage

npm install sl-gt-synclint

in your gulpfile.js

require('sl-gt-synclint')(gulp);

Sync

gulp synclint-copy --path <your lint set npm name>

Sync Options

gulp synclint-es --module

--module

keep module set "sourceType": "module"

gulp synclint-es --module

--react

keep react set: rules start with "react"

gulp synclint-es --react

--babel

keep babel set "babel-eslint"

gulp synclint-es --babel

Reference

Modularizing gulp tasks

Special thanks

gulp-if by robich