Registry / testing / ly-lint

ly-lint

JSON →
library0.4.4jsnpmunverified

A custom ESLint plugin providing additional lint rules for internal projects. Current stable version is 0.4.4. This package is distributed as 'ly-lint' on npm but is imported as 'dp-lint' in ESLint configuration. It ships TypeScript types and requires Node ^16.0.0 || >= 18.0.0. Designed as an internal plugin, it lacks public documentation on available rules, so users must inspect source or internal docs. Alternative to rolling custom rules.

npm install ly-lint
INSTALL
IMPORT
SIG · LY-LINT
L
ly-lint
testingjavascriptv0.4.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.

config
Add to plugins array in .eslintrc: "plugins": ["dp-lint"]
Attempting to import via JavaScript: const plugin = require('dp-lint')
ESLint plugin is loaded by ESLint via its name; no direct require/import in user code.
rules
Configure rules in .eslintrc: "rules": { "dp-lint/rule-name": "error" }
Using camelCase rule prefix: "dpLint/rule-name"
Rules are namespaced under the plugin prefix 'dp-lint/'.
TypeScript types
Import types from package (if exported): import { ... } from 'ly-lint'
Importing from 'dp-lint' — package is 'ly-lint' on npm
Package is published as 'ly-lint' but ESLint references it as 'dp-lint'. Types are bundled but may not be publicly documented.

Shows how to install and configure the ESLint plugin using its npm name 'ly-lint' and ESLint plugin name 'dp-lint'.

// 1. Install dependencies npm install --save-dev eslint ly-lint // 2. Create .eslintrc.json { "plugins": ["dp-lint"], "rules": { "dp-lint/rule-name": "error" } } // 3. Lint a file npx eslint your-file.js
Debug
Known issues
gotchaPackage name mismatch: npm package is 'ly-lint' but ESLint plugin name is 'dp-lint'
fix
Install as 'ly-lint' but reference in ESLint config as 'dp-lint'.
affects: >=0.0.0
deprecatedNode version requirement: ^16.0.0 || >= 18.0.0 — Node 14 is not supported
fix
Upgrade to Node 16 or 18+.
affects: >=0.0.0
gotchaNo documented list of rules; you must inspect the plugin's source code or internal documentation
fix
Look at the plugin's source or maintainers for rule list.
affects: >=0.0.0
gotchaESLint 8+ required; does not work with ESLint 7
fix
Install eslint@^8.0.0 or later.
affects: >=0.0.0
Errors
Common errors & fixes
Failed to load plugin 'dp-lint': Cannot find module 'eslint-plugin-dp-lint'
The npm package is 'ly-lint' but referenced as 'dp-lint' in ESLint config
fix
Run: npm install --save-dev ly-lint (not eslint-plugin-dp-lint)
Could not find rule 'dp-lint/rule-name'
The rule does not exist or is misspelled
fix
Check the plugin's source for available rules, or use a valid rule name.
Upgrade
Version history
0.4.4latest on npm
Audit
Dependencies
eslintrequiredpeer dependency: required for plugin to function
Agent activity
2 hits · last 30 days
node
2
Resources
ly-lint — npm install ly-lint · libregistry