Registry / testing / eslint-plugin-ext

eslint-plugin-ext

JSON →
library0.1.0jsnpmunverified

eslint-plugin-ext is an ESLint plugin (version 0.1.0) that provides additional lint rules, starting with 'lines-between-object-properties' which enforces blank lines between object properties, based on eslint's built-in 'lines-between-class-members'. The rule allows standard options plus an extra 'exceptBetweenSingleLines' option. The package is minimal and likely low maintenance; it is not part of a broader ecosystem and has no recent updates. It differentiates by offering a specific rule for object literals that is missing from core ESLint.

npm install eslint-plugin-ext
INSTALL
IMPORT
SIG · ESLINT-PLUGIN-EXT
E
eslint-plugin-ext
testingjavascriptv0.1.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

eslint-plugin-ext (plugin)
plugins: ['ext']
plugins: ['eslint-plugin-ext']
ESLint plugin naming convention: omit the 'eslint-plugin-' prefix. This is required for ESLint to resolve the plugin.
lines-between-object-properties rule
"ext/lines-between-object-properties": ["error", "always", { "exceptBetweenSingleLines": true }]
"lines-between-object-properties": "error"
Rules must be namespaced with the plugin name (ext/). Missing the namespace is the most common mistake.
ESLint config (JSON)
{ "plugins": ["ext"], "rules": { "ext/lines-between-object-properties": ["error", "always"] } }
{ "plugins": ["eslint-plugin-ext"], "rules": { "lines-between-object-properties": "error" } }
Common mistake: using full package name in plugins array and not prefixing the rule with 'ext/'.

Shows how to configure the plugin in .eslintrc.json and demonstrates the rule behavior with bad/good object examples.

// .eslintrc.json { "plugins": ["ext"], "rules": { "ext/lines-between-object-properties": ["error", "always", { "exceptBetweenSingleLines": true }] } } // Example object (bad): no blank lines between properties export const bad = { a: 1, b: 2, c() {} } // Example object (good): blank lines between logical groups export const good = { a: 1, b: 2, c() {} }
Debug
Known issues
gotchaPlugin must be configured in ESLint's 'plugins' array, not 'extends' or 'rules' directly.
fix
Add 'plugins: ["ext"]' to your ESLint configuration.
affects: >=0.0.0
gotchaRule name must be prefixed with 'ext/'. Using just 'lines-between-object-properties' will not work.
fix
Use 'ext/lines-between-object-properties' as the rule key.
affects: >=0.0.0
gotchaThe 'exceptBetweenSingleLines' option is specific to this plugin and not available in ESLint core.
fix
Ensure this option is only used with this plugin's rule.
affects: >=0.0.0
deprecatedESLint flat config (eslint.config.js) does not support the legacy 'plugins' array format. This plugin may not be compatible with flat config.
fix
Use legacy .eslintrc format or check plugin documentation for flat config support.
affects: 0.1.0
Errors
Common errors & fixes
Error: Failed to load plugin 'ext' declared in '.eslintrc.json': Cannot find module 'eslint-plugin-ext'
Package not installed, or wrong plugin name in ESLint config.
fix
Run 'npm install eslint-plugin-ext --save-dev' and ensure 'plugins' array uses 'ext' (without prefix).
Configuration for rule 'ext/lines-between-object-properties' is invalid: Unknown option 'exceptBetweenSingleLines'
The option was misspelled or placed at wrong level.
fix
Use 'exceptBetweenSingleLines' (note: 'single' not 'single'). Option must be inside an object as third element of the array.
ESLint couldn't find the plugin 'eslint-plugin-ext' in the configuration.
Using full package name in plugins array.
fix
Change 'plugins' to ["ext"] (omit 'eslint-plugin-' prefix).
Upgrade
Version history
0.1.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
eslint-plugin-ext — npm install eslint-plugin-ext · libregistry