Registry / testing / eslint-plugin-oev

eslint-plugin-oev

JSON →
library2.1.0jsnpmunverified

A shared ESLint plugin providing common lint and formatting rules for OEV Berlin projects. Current stable version is 2.1.0, released with regular updates for ESLint and TypeScript compatibility. It enforces consistent code style and best practices across projects. Differentiates by being tailored specifically to OEV Berlin conventions rather than generic rule sets. Requires ESLint >= 9 and TypeScript >= 5, leveraging modern flat config and type-aware rules.

testing
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.

ESM-only package; use import syntax. Requires ESLint flat config.

import plugin from 'eslint-plugin-oev'

Named export for accessing predefined configs like recommended.

import { configs } from 'eslint-plugin-oev'

Named export for custom rule definitions.

import { rules } from 'eslint-plugin-oev'

Setup ESLint flat config with OEV recommended rules and TypeScript support.

// eslint.config.js import plugin from 'eslint-plugin-oev'; import tseslint from 'typescript-eslint'; export default [ plugin.configs.recommended, ...tseslint.configs.recommended, ];
Debug
Known footguns
breakingVersion 2.x requires ESLint >= 9 and flat config; does not support legacy .eslintrc format.
breakingDropped support for TypeScript < 5 in version 2.0.0.
deprecatedThe 'configs.recommended' now uses flat config structure; old 'recommended' as a single object is deprecated.
gotchaThis plugin only provides rules; you must install and configure `typescript-eslint` separately for full TypeScript linting.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
10 hits · last 30 days
claudebot
4
gptbot
3
ahrefsbot
3
Resources