Registry / devops / eslint-config-onny

eslint-config-onny

JSON →
library0.1.7jsnpmunverified

Shared ESLint configuration for Onny projects, version 0.1.7. Provides a common set of lint rules for JavaScript and TypeScript. Intended for use in general Node.js or frontend projects; for React projects, the separate eslint-config-onny-react package is recommended. No peer dependencies required, but typically used alongside ESLint. Currently in active development with low release cadence.

npm install eslint-config-onny
INSTALL
IMPORT
SIG · ESLINT-CONFIG-ONNY
E
eslint-config-onny
devopsjavascriptv0.1.7
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.

eslint-config-onny
extends: ['onny']
extends: ['eslint-config-onny']
Add 'onny' to the extends array in your .eslintrc file. Do not include the full package name.
eslint-config-onny
module.exports = { extends: ['onny'] }
const onny = require('eslint-config-onny')
In CommonJS, use extends with the config name, not require().
eslint-config-onny
import config from 'eslint-config-onny'
ESM import directly exports the config object; not typically needed.

Shows how to extend the 'onny' config in an ESLint configuration file and run ESLint.

// .eslintrc.json { "extends": ["onny"], "rules": { // override rules here } } // Then run ESLint npx eslint src/**/*.js
Debug
Known issues
gotchaThe config normally works with ESLint 8.x but may not be compatible with ESLint 9 flat config. Verify if the eslint-config-onny package exports a flat config or uses the legacy format.
fix
Use ESLint 8.x or configure compatibility settings for ESLint 9.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint-config-onny'
The package is not installed or ESLint cannot locate the config.
fix
Install the package: npm install --save-dev eslint-config-onny
ESLint couldn't find the config 'onny' to extend from.
Incorrect extends value; using full package name instead of 'onny'.
fix
Set extends to 'onny' (not 'eslint-config-onny').
Upgrade
Version history
0.1.7latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-onny — npm install eslint-config-onny · libregistry