{"id":25885,"library":"lint-to-the-future","title":"Lint to the Future","description":"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.","status":"active","version":"2.6.4","language":"javascript","source_language":"en","source_url":"https://github.com/mansona/lint-to-the-future","tags":["javascript"],"install":[{"cmd":"npm install lint-to-the-future","lang":"bash","label":"npm"},{"cmd":"yarn add lint-to-the-future","lang":"bash","label":"yarn"},{"cmd":"pnpm add lint-to-the-future","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"ESLint plugin required for JavaScript linting support","package":"lint-to-the-future-eslint","optional":true},{"reason":"Plugin for Ember template linting","package":"lint-to-the-future-ember-template","optional":true},{"reason":"Plugin for stylelint support","package":"lint-to-the-future-stylelint","optional":true}],"imports":[{"note":"CLI tool; run via npx or install globally. No programmatic API.","wrong":"npx lint-to-the-future ignore-eslint","symbol":"lint-to-the-future","correct":"npx lint-to-the-future ignore"},{"note":"Use 'ignore' subcommand, not a flag.","wrong":"npx lint-to-the-future --ignore","symbol":"LTTF ignore","correct":"npx lint-to-the-future ignore"},{"note":"Generate dashboard HTML using 'generate' subcommand.","wrong":"npx lint-to-the-future dashboard","symbol":"LTTF dashboard","correct":"npx lint-to-the-future generate"}],"quickstart":{"code":"mkdir my-project && cd my-project\nnpm init -y\nnpm install --save-dev lint-to-the-future lint-to-the-future-eslint eslint\nnpx eslint --init\n# Create a file with lint errors: echo 'var x = 1' > index.js\nnpx lint-to-the-future ignore\n# Now run eslint again, no errors\n# Generate dashboard:\nnpx lint-to-the-future generate --output-dir ./dashboard\n# Open ./dashboard/index.html","lang":"typescript","description":"Initialize a project with lint-to-the-future, add file-based ignores for existing ESLint errors, and generate a dashboard."},"warnings":[{"fix":"Update Node.js to v18 or later.","message":"Requires Node >= 18. Older versions may crash with syntax errors.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Configure your linter to treat warnings as errors if needed.","message":"The 'ignore' command only handles errors, not warnings. Warnings will be ignored.","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Update references from '/files' to '/rule' in your dashboard configuration.","message":"In v2.5.0, the 'files' route was renamed to 'rule'. Old dashboard links may break.","severity":"deprecated","affected_versions":">=2.5.0"},{"fix":"Ensure plugin packages start with 'lint-to-the-future-' and are in node_modules.","message":"Plugins must be installed locally (not globally) and named 'lint-to-the-future-*'. Autoloading may miss plugins with different prefixes.","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Update any parsing logic for --previous-results output.","message":"The --previous-results flag output format changed in v2.5.1 to fix a bug. Custom scripts relying on old format may break.","severity":"breaking","affected_versions":">=2.5.1"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run: npm install --save-dev lint-to-the-future-eslint","cause":"ESLint plugin not installed.","error":"Error: Cannot find module 'lint-to-the-future-eslint'"},{"fix":"Ensure the corresponding linter package is installed and configured (e.g., npm install --save-dev eslint).","cause":"Missing or misconfigured linter (e.g., eslint not installed).","error":"TypeError: linter is not a function"},{"fix":"Install a plugin like lint-to-the-future-eslint.","cause":"No lint-to-the-future-* plugin installed.","error":"Warning: No plugins found. Lint to the Future needs at least one plugin to run."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}