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.

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.
gotcha Custom arguments passed through to underlying tools may override defaults unexpectedly.
fix Check the underlying tool's documentation for valid flags.
npm install flt
yarn add flt
pnpm add flt

Install flt as a dev dependency and run the default command or individual tasks with optional arguments.

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