Registry / testing / er-ant-lints

er-ant-lints

JSON →
library1.0.2jsnpmunverified

A personal collection of lint rules organized by categories (basic, advanced, different areas, disputable, configurable). Version 1.0.2, no release cadence. Differentiators: includes subjective/disputable rules and project-specific configurable rules.

npm install er-ant-lints
INSTALL
IMPORT
SIG · ER-ANT-LINTS
E
er-ant-lints
testingjavascriptv1.0.2
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 erAntLints from 'er-ant-lints'
const erAntLints = require('er-ant-lints')
ESM-only; no default export is specified, likely needs to check actual export.
rules
import { rules } from 'er-ant-lints'
const rules = require('er-ant-lints').rules
Named export; verify if 'rules' exists or is the actual export.
configs
import { configs } from 'er-ant-lints'
Possible export for different rule categories.

Shows how to use the package by extending predefined rule sets and overriding a rule.

import erAntLints from 'er-ant-lints'; const config = { extends: [ 'er-ant-lints/basic', 'er-ant-lints/advanced' ], rules: { 'my-rule': 'error' } };
Debug
Known issues
gotchaExact rule names may differ from documentation; check actual exported rule names.
fix
Inspect the package's index.js or documentation for correct rule identifiers.
affects: >=1.0.0
gotchaThe package might not be published to npm registry; verify availability before use.
fix
Use 'npm view er-ant-lints' to confirm package exists.
affects: >=1.0.0
gotchaNo type declarations; TypeScript users may need to create custom .d.ts.
fix
Add declaration: declare module 'er-ant-lints' { export const rules: any; }
affects: >=1.0.0
Errors
Common errors & fixes
Cannot find module 'er-ant-lints'
Package not installed or not published.
fix
Run 'npm install er-ant-lints' or ensure package name is correct.
SyntaxError: Unexpected token 'export'
Using require() instead of import in ESM environment.
fix
Use 'import erAntLints from 'er-ant-lints'' in .mjs file or with module type.
Upgrade
Version history
1.0.2latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
er-ant-lints — npm install er-ant-lints · libregistry