Formula Lint is a CLI tool that provides a unified linting setup for JavaScript/TypeScript projects, built on ESLint with preconfigured rules for React, TypeScript, and formatting. Version 0.1.1 is the current stable release, targeted at developers who want to add consistent code standards to any project in minutes. It generates flat ESLint configs (eslint.config.js) automatically, integrates with VSCode for on-save fixing, and supports CI/CD via GitHub Actions. The tool requires Node.js >= 18.0.0, ships TypeScript definitions, and is distributed as a global npm package.
npm install formula-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install globally, initialize project config, then run lint with auto-fix and JSON output.
Use import statements and ensure your project uses ESM or has TypeScript configured to handle ES modules.
If you need legacy config, do not use formula-lint; or manually convert the flat config to .eslintrc.
Pin version of @formula/lint-config in package.json if stability is needed.
Install with npm install -g formula-lint, or use npx formula-lint for local installs.
Update Node.js to version 18 or later.
Install the ESLint extension from the VSCode marketplace.
Run `npm install -g @formula/lint-config` or add it to your project dependencies: `npm install --save-dev @formula/lint-config`
Enable typescript: true in the formula config if using TS, or ensure your project uses valid ES syntax.
Install globally: `npm install -g formula-lint`.
Install @formula/lint-config: `npm install --save-dev @formula/lint-config`