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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.46.04latest

Version History

VersionDownloads (Last 7 Days)Published
0.46.04
0.45.01
0.44.01
0.43.01
0.42.01
0.41.03
0.40.03
0.39.01
0.38.01
0.37.01
0.36.11
0.36.01
0.35.01
0.34.01
0.33.01
0.32.01
0.31.01
0.30.01
0.29.01
0.28.01
0.27.01
0.26.01
0.25.01
0.24.01
0.23.01
0.22.02
0.21.01
0.20.01
0.19.01
0.18.01
0.17.01
0.16.01
0.15.11
0.15.01
0.14.01
0.13.41
0.13.31
0.13.21
0.13.11
0.13.01
0.12.31
0.12.21
0.12.12
0.12.01
0.11.22
0.11.11
0.11.02
0.10.11
0.10.01
0.9.01
0.8.01
0.7.21
0.7.11
0.7.01
0.6.01
0.5.01
0.4.11
0.3.11
0.3.01
0.2.21
0.2.11
0.2.01
0.1.22
0.1.11
0.1.01

Package Sidebar

Install

npm i flt

Weekly Downloads

77

Version

0.46.0

License

MIT

Unpacked Size

7.48 kB

Total Files

11

Last publish

Collaborators

  • gdub