FLT
raw JSON → 0.46.0 verified Fri May 01 auth: no javascript
An all-in-one opinionated tool for JavaScript code formatting, linting, and testing, wrapping prettier, eslint, and mocha. Current stable version is 0.46.0. It eliminates the need to individually install and configure multiple dev dependencies by providing a single command to run all three tasks with sensible defaults. Notable for its simplicity and zero-config approach, though it may not suit projects requiring custom tooling beyond prettier, eslint, and mocha.
Common errors
error Error: Cannot find module 'prettier' ↓
cause FLT expects prettier to be installed alongside its dependencies.
fix
Run 'npm install flt' again or manually install prettier.
Warnings
gotcha Custom arguments passed through to underlying tools may override defaults unexpectedly. ↓
fix Check the underlying tool's documentation for valid flags.
Install
npm install flt yarn add flt pnpm add flt Imports
- flt (CLI)
npx flt
Quickstart
npm install flt --save-dev
npx flt # runs format, lint, and test
npx flt format # runs prettier
npx flt lint *.js
npx flt test --bail