Registry / testing / aberlaas-lint

aberlaas-lint

JSON →
library2.27.4jsnpmunverified

Aberlaas Lint is a CLI tool and library for linting files in JavaScript/TypeScript projects. As part of the Aberlaas toolkit (v2.27.4), it consolidates ESLint, Prettier, and other linters into a single command. It provides opinionated defaults but allows customization via config files. The library is primarily used via the `aberlaas lint` CLI command, but also exports a `lint` function for programmatic use. It targets Node.js and requires ESM. Version 2.x is stable; releases follow changes in underlying linters.

npm install aberlaas-lint
INSTALL
IMPORT
SIG · ABERLAAS-LINT
A
aberlaas-lint
testingjavascriptv2.27.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.

lint
import { lint } from 'aberlaas-lint'
const { lint } = require('aberlaas-lint')
ESM-only package; CommonJS require will throw.
lint (default)
import lint from 'aberlaas-lint'
const lint = require('aberlaas-lint')
Default export also available, but named is preferred.
config
import { config } from 'aberlaas-lint'
import config from 'aberlaas-lint'
Named export for accessing default config.

Programmatic usage: lint files with optional auto-fix.

import { lint } from 'aberlaas-lint'; const result = await lint({ cwd: process.cwd(), fix: true, files: ['src/**/*.js'], }); console.log(result);
aberlaas --version
Debug
Known issues
breakingPackage renamed from `aberlaas-lint` to `@aberlaas/lint` in v3
fix
Use `@aberlaas/lint` instead.
affects: >=3.0.0
deprecatedDeprecated: Use `aberlaas lint` CLI command instead of direct import.
fix
Run `npx aberlaas lint` in your project.
affects: >=2.0.0
gotchaRequires Node.js >=14; fails silently on older versions.
fix
Update Node.js to 14+.
affects: >=2.0.0
Errors
Common errors & fixes
Cannot find module 'aberlaas-lint' or its corresponding type declarations.
Missing dependency or wrong import path.
fix
Run `npm install aberlaas-lint` and ensure ESM (type: 'module' in package.json) or `.mjs` extension.
TypeError: (0 , aberlaas_lint.lint) is not a function
Using CommonJS require() on an ESM-only package.
fix
Change to `import { lint } from 'aberlaas-lint'` and use ESM context.
Upgrade
Version history
2.27.4latest on npm
Audit
Dependencies
@aberlaas/configrequiredConfiguration dependency for linting rules
eslintrequiredCore linting engine
prettierrequiredCode formatting
Agent activity
54 hits · last 30 days
node
48
OpenAI (training)
1
Resources
aberlaas-lint — npm install aberlaas-lint · libregistry