{"id":27120,"library":"ls-lint","title":"ls-lint","description":"ls-lint is a linter for LiveScript, a compile-to-JavaScript language. Version 0.1.2 is the latest and only stable release, with no updates or commits since 2015. It provides a CLI and API for linting LiveScript files, with configurable rules such as max-file-lines and eol-last. The project appears abandoned, with no releases in over 9 years and no active maintenance. It is distinct from the newer ls-lint directory linter.","status":"abandoned","version":"0.1.2","language":"javascript","source_language":"en","source_url":"https://github.com/eheitherd/ls-lint","tags":["javascript","lint","livescript"],"install":[{"cmd":"npm install ls-lint","lang":"bash","label":"npm"},{"cmd":"yarn add ls-lint","lang":"bash","label":"yarn"},{"cmd":"pnpm add ls-lint","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"LiveScript-style require is not valid in JavaScript. Use ESM import or CommonJS require with default export.","symbol":"default","correct":"import lsLint from 'ls-lint'"},{"note":"The package likely exports lint as a named function, but exact module structure is unclear due to age.","wrong":"const { lint } = require('ls-lint')","symbol":"ls-lint.lint","correct":"import { lint } from 'ls-lint'"},{"note":"CLI usage only; no programmatic CLI import.","wrong":"ls-lint --help","symbol":"cli","correct":"npx ls-lint [options] [file]..."}],"quickstart":{"code":"import lsLint from 'ls-lint';\n\nconst errors = lsLint.lint('(x, y) -> x + y');\nconsole.log(errors);","lang":"javascript","description":"Shows basic usage of the lint function to check a LiveScript snippet."},"warnings":[{"fix":"Consider using a modern linter for JavaScript or CoffeeScript.","message":"Package has not been updated since 2015 and is effectively abandoned.","severity":"deprecated","affected_versions":"all"},{"fix":"Use default import or check package's module format.","message":"No named exports may exist; only default export is available.","severity":"breaking","affected_versions":"all"},{"fix":"Verify package name and scope; install 'ls-lint' for directory linting.","message":"The package is named 'ls-lint' but is unrelated to the popular directory linter 'ls-lint' (ls-lint/ls-lint).","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install ls-lint' in your project directory.","cause":"Package not installed or not found in node_modules.","error":"Cannot find module 'ls-lint'"},{"fix":"Use default import: import lsLint from 'ls-lint'.","cause":"Incorrect import or export structure.","error":"lsLint.lint is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}