Registry / testing / lintdd

lintdd

JSON →
library1.0.24jsnpmunverified

A unified linting tool for React frontend projects combining ESLint, Prettier, and Stylelint with zero-config setup. Current stable version 1.0.24, released irregularly. Provides opinionated defaults for code styling and quality, minimizing configuration overhead. Alternative to lint-staged or eslint-config packages with a focus on React ecosystems.

npm install lintdd
INSTALL
IMPORT
SIG · LINTDD
L
lintdd
testingjavascriptv1.0.24
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.

lintdd
import lintdd from 'lintdd'
const lintdd = require('lintdd')
Default export; ESM only as of v1.0.0
runLint
import { runLint } from 'lintdd'
import runLint from 'lintdd/runLint'
Named export, not a submodule
config
import { config } from 'lintdd'
import config from 'lintdd/config'
Named export for configuration object

Shows how to import and run the linter on React project files with auto-fix enabled.

import lintdd from 'lintdd'; async function lintProject() { const result = await lintdd({ files: ['src/**/*.{js,jsx,ts,tsx}'], fix: true }); console.log('Lint result:', result); } lintProject();
Debug
Known issues
gotchaRequires ESLint, Prettier, and Stylelint to be installed as peer dependencies or globally.
fix
Install peer deps: npm install eslint prettier stylelint
affects: >=0.0.0
breakingv1.0.0 changed from CommonJS to ESM only.
fix
Use import instead of require; if using CJS, downgrade to 0.x or use dynamic import.
affects: >=1.0.0
deprecatedThe 'react' preset is deprecated in favor of 'react-ts' for TypeScript projects.
fix
Use 'react-ts' preset for React+TypeScript projects.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint'
Missing peer dependency ESLint
fix
Run: npm install eslint --save-dev
TypeError: lintdd is not a function
Using CommonJS require on ESM-only module
fix
Use import lintdd from 'lintdd' or dynamic import()
Upgrade
Version history
1.0.24latest on npm
Audit
Dependencies
eslintoptionalCore linting engine
prettieroptionalCode formatting
stylelintoptionalCSS/SCSS linting
Agent activity
4 hits · last 30 days
node
4
Resources
packagelintdd
lintdd — npm install lintdd · libregistry