{"id":26667,"library":"xlint","title":"xlint","description":"A powerful CLI tool for running any lint solution (JSLint, JSHint, etc.) on JavaScript files. It recursively scans .js and executable Node.js files, supports external configuration files (.lint), understands .gitignore and .lintignore rules, includes optional caching and live console updates via --watch. The current stable version is 0.2.2, released with basic Node.js support (>=0.8) and minimal dependencies. It is a niche tool with limited maintenance; alternatives like ESLint are more modern and widely adopted.","status":"deprecated","version":"0.2.2","language":"javascript","source_language":"en","source_url":"git://github.com/medikoo/xlint","tags":["javascript","cli","code","debugger","jslint","jshint","lint","linter","quality"],"install":[{"cmd":"npm install xlint","lang":"bash","label":"npm"},{"cmd":"yarn add xlint","lang":"bash","label":"yarn"},{"cmd":"pnpm add xlint","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"xlint is primarily a CLI tool, not a library to import programmatically.","wrong":"npm install xlint (local install rarely useful)","symbol":"xlint (CLI)","correct":"npm install -g xlint"}],"quickstart":{"code":"npm install -g xlint\nmkdir -p myproject && cd myproject\necho 'var x = 1;' > test.js\necho '{\"linter\": \"path/to/jslint.js\"}' > .lint\nxlint --linter=path/to/jslint.js --depth=Infinity .","lang":"javascript","description":"Global install, create a project with a test JS file, configure .lint, and run xlint with a linter path."},"warnings":[{"fix":"Migrate to ESLint or a maintained alternative.","message":"xlint is no longer actively maintained. Consider using ESLint or other modern linters.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Install a linter module like 'npm install xlint-jslint' and pass its path.","message":"Requires a separate linter module (e.g., xlint-jslint). Without one, xlint cannot lint anything.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Always provide --linter=... or set 'linter' in .lint configuration file.","message":"Default linter is not provided. You must specify --linter option or configure it in .lint file.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Validate .lint file syntax carefully; use comments starting with # and key-value pairs.","message":"Configuration files (.lint) use a custom format similar to UNIX conf files, not JSON. Syntax errors may cause silent failures.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install a valid linter module (e.g., xlint-jslint) and provide correct absolute or relative path.","cause":"Invalid --linter path or missing linter module.","error":"Error: Cannot find module 'path/to/jslint-module.js'"},{"fix":"Add --linter option or create a .lint file with 'linter' key pointing to a valid linter module.","cause":"No --linter argument and no linter set in .lint configuration.","error":"xlint: Neither specified linter was provided, nor default could be resolved"},{"fix":"Ensure target directory contains .js files or executable Node.js files not ignored by ignore rules.","cause":"No JavaScript files found in the target directory or all files ignored via .gitignore/.lintignore.","error":"No files to lint"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}