Nefariously Pushing Master

    @fasttime/gulp-lint
    TypeScript icon, indicating that this package has built-in type declarations

    0.37.1 • Public • Published

    @fasttime/gulp-lint · npm version

    Gulp plugin for linting with fasttime presets.

    Lints JavaScript, TypeScript and Gherkin files.

    Usage

    exports.lint =
    () =>
    {
        const lint = require('@fasttime/gulp-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.

    Install

    npm i @fasttime/gulp-lint

    DownloadsWeekly Downloads

    9

    Version

    0.37.1

    License

    ISC

    Unpacked Size

    45.9 kB

    Total Files

    7

    Last publish

    Collaborators

    • fasttime