This package has been deprecated

Author message:

This package has been renamed to @fasttime/gulp-lint

gulp-fasttime-lint

0.20.0 • Public • Published

gulp-fasttime-lint · npm version

Gulp plugin for ESLint validation with fasttime presets.

Validates JavaScript, TypeScript and Gherkin files.

Usage

exports.lint =
() =>
{
    const lint = require('gulp-fasttime-lint');
 
    const stream = lint({ src, envs, fix, globals, parserOptions, plugins, rules });
    return stream;
};

You can also specify more than one configuration.

const stream = lint([{ src: src1, ...config1 }, { src: src2, ...config2 }]);

The setting src is used to specify the files to be linted; all the other settings are only relevant to JavaScript and TypeScript files, and are ignored for Gherkin files.

It is fine to specify different kinds of source files in the same src glob pattern(s), as long as other configuration settings don't interfere.

Package Sidebar

Install

npm i gulp-fasttime-lint

Weekly Downloads

30

Version

0.20.0

License

ISC

Unpacked Size

39 kB

Total Files

6

Last publish

Collaborators

  • fasttime