Registry / testing / pustovalov-ls-lint

pustovalov-ls-lint

JSON →
library0.0.9jsnpmunverified

An extremely fast file and directory name linter for JavaScript and TypeScript projects, with pre-built 64-bit binaries for Linux, macOS, and Windows. The latest stable version is v2.3.1 (released via GitHub), published as an npm package primarily to distribute platform-specific binaries. It uses a simple YAML/JSON configuration to enforce naming conventions (e.g., kebab-case, PascalCase) across your entire codebase, and can lint individual files or directories. It is designed for CI/CD integration and supports monorepos. Unlike eslint or prettier plugins, ls-lint is a standalone Go binary that runs independently of your Node.js runtime, making it fast and uncoupled from your project's build setup.

npm install pustovalov-ls-lint
INSTALL
IMPORT
SIG · PUSTOVALOV-LS-LINT
P
pustovalov-ls-lint
testingjavascriptv0.0.9
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.

default
import lsLint from 'pustovalov-ls-lint'
const lsLint = require('pustovalov-ls-lint')
This package is a platform-specific binary distribution; it does not export a JavaScript API. The import is only valid if using an npm package that wraps the binary (but this package itself is not importable in code).

This shows how to install the platform-specific binary via npm and run a basic directory lint using an ls-lint config file.

// Install the binary for your platform via npm npm install --save-dev pustovalov-ls-lint # Then run ls-lint from the command line (available via npx or node_modules/.bin) npx ls-lint --config .ls-lint.yml --directory . # Example .ls-lint.yml configuration: ls: .dir: kebab-case .js: kebab-case .ts: kebab-case .json: kebab-case .md: kebab-case
ls-lint --version
Debug
Known issues
deprecatedThe package name 'pustovalov-ls-lint' is not the official package; the official ls-lint npm package is '@ls-lint/ls-lint'. Consider switching to the official package.
fix
npm uninstall pustovalov-ls-lint && npm install --save-dev @ls-lint/ls-lint
affects: >=0.0.0
gotchaThis package only provides the 64-bit binary. It does not support 32-bit systems or ARM architectures (except via emulation).
fix
Use the official ls-lint package which includes binaries for multiple architectures, or download the appropriate binary manually.
affects: >=0.0.0
gotchaThe binary requires Go runtime? No, it's a standalone binary. But ensure your system has the necessary permissions to execute the binary.
fix
Run 'chmod +x node_modules/.bin/ls-lint' if the binary is not executable.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'pustovalov-ls-lint'
Trying to require or import the package as a JavaScript module.
fix
This package is not a JavaScript module; it only provides a binary. Remove any 'import' or 'require' statements for this package in your code.
ls-lint: command not found
The binary is not in PATH or not installed correctly.
fix
Use 'npx ls-lint' or run './node_modules/.bin/ls-lint' instead of calling 'ls-lint' directly.
Upgrade
Version history
0.0.9latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
pustovalov-ls-lint — npm install pustovalov-ls-lint · libregistry