Registry / testing / lint-to-the-future

lint-to-the-future

JSON →
library2.6.4jsnpmunverified

Lint to the Future (LTTF) v2.6.4 is a tool that helps progressively enable lint rules by adding file-based ignore directives to existing violations, then tracking cleanup via a dashboard. It supports ESLint, Ember templates, stylelint via plugins (e.g., lint-to-the-future-eslint). Active development with monthly releases. Unlike blanket ignore configs, it adds temporary per-file ignores, allowing new files to adhere to rules while old files are fixed incrementally. Requires Node >= 18.

npm install lint-to-the-future
INSTALL
IMPORT
SIG · LINT-TO-THE-FUTURE
L
lint-to-the-future
testingjavascriptv2.6.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

lint-to-the-future
npx lint-to-the-future ignore
npx lint-to-the-future ignore-eslint
CLI tool; run via npx or install globally. No programmatic API.
LTTF ignore
npx lint-to-the-future ignore
npx lint-to-the-future --ignore
Use 'ignore' subcommand, not a flag.
LTTF dashboard
npx lint-to-the-future generate
npx lint-to-the-future dashboard
Generate dashboard HTML using 'generate' subcommand.

Initialize a project with lint-to-the-future, add file-based ignores for existing ESLint errors, and generate a dashboard.

mkdir my-project && cd my-project npm init -y npm install --save-dev lint-to-the-future lint-to-the-future-eslint eslint npx eslint --init # Create a file with lint errors: echo 'var x = 1' > index.js npx lint-to-the-future ignore # Now run eslint again, no errors # Generate dashboard: npx lint-to-the-future generate --output-dir ./dashboard # Open ./dashboard/index.html
lttf --version
Debug
Known issues
breakingRequires Node >= 18. Older versions may crash with syntax errors.
fix
Update Node.js to v18 or later.
affects: >=2.0.0
gotchaThe 'ignore' command only handles errors, not warnings. Warnings will be ignored.
fix
Configure your linter to treat warnings as errors if needed.
affects: >=2.0.0
deprecatedIn v2.5.0, the 'files' route was renamed to 'rule'. Old dashboard links may break.
fix
Update references from '/files' to '/rule' in your dashboard configuration.
affects: >=2.5.0
gotchaPlugins must be installed locally (not globally) and named 'lint-to-the-future-*'. Autoloading may miss plugins with different prefixes.
fix
Ensure plugin packages start with 'lint-to-the-future-' and are in node_modules.
affects: >=2.0.0
breakingThe --previous-results flag output format changed in v2.5.1 to fix a bug. Custom scripts relying on old format may break.
fix
Update any parsing logic for --previous-results output.
affects: >=2.5.1
Errors
Common errors & fixes
Error: Cannot find module 'lint-to-the-future-eslint'
ESLint plugin not installed.
fix
Run: npm install --save-dev lint-to-the-future-eslint
TypeError: linter is not a function
Missing or misconfigured linter (e.g., eslint not installed).
fix
Ensure the corresponding linter package is installed and configured (e.g., npm install --save-dev eslint).
Warning: No plugins found. Lint to the Future needs at least one plugin to run.
No lint-to-the-future-* plugin installed.
fix
Install a plugin like lint-to-the-future-eslint.
Upgrade
Version history
2.6.4latest on npm
Audit
Dependencies
lint-to-the-future-eslintoptionalESLint plugin required for JavaScript linting support
lint-to-the-future-ember-templateoptionalPlugin for Ember template linting
lint-to-the-future-stylelintoptionalPlugin for stylelint support
Agent activity
2 hits · last 30 days
node
2
Resources
lint-to-the-future — npm install lint-to-the-future · libregistry