flt

0.46.0 • Public • Published

FLT: Format, Lint, Test

An all-in-one opinionated package for javascript code formatting, linting, and testing. Uses prettier, eslint (+plugins), and mocha.

I was tired of installing ~10 dependenies and copying the same scripts into every project in order to get clean, dependable, and tested code.

Usage

Run format, lint & test with recommended options:

flt

Run just formatting (prettier) with recommended options:

flt format

Run just linting (eslint) with recommended options:

flt lint

Run just tests (mocha) with recommended options:

flt test

If you supply your own arguments, they get passed through to the underlying module instead of the recommended options. Which is still a convenience because you only need to install the flt dependency instead of everything else.

flt format *.js --single-quote is the same as running prettier *.js --single-quote

/flt/

    Package Sidebar

    Install

    npm i flt

    Weekly Downloads

    11

    Version

    0.46.0

    License

    MIT

    Unpacked Size

    7.48 kB

    Total Files

    11

    Last publish

    Collaborators

    • gdub