Registry /
testing / eslint-plugin-no-use-extend-native
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
muslnode 18–226 runs
build_error
glibcnode 18–226 runs
build_error
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
default
✓ import eslintPluginNoUseExtendNative from 'eslint-plugin-no-use-extend-native'
✗ const eslintPluginNoUseExtendNative = require('eslint-plugin-no-use-extend-native')
ESM-only since v0.5.0; requires ESLint flat config.
configs.recommended
✓ import { configs } from 'eslint-plugin-no-use-extend-native';
// use configs.recommended
✗ require('eslint-plugin-no-use-extend-native').configs.recommended
Named export for recommended config; use flat config only.
rules (for custom config)
✓ import { rules } from 'eslint-plugin-no-use-extend-native';
// rules['no-use-extend-native'] is the rule object
✗ require('eslint-plugin-no-use-extend-native').rules
Access rule definition directly when building custom configs.
Shows how to configure the plugin in eslint.config.js using the provided recommended config or manual setup.
// eslint.config.js
import eslintPluginNoUseExtendNative from 'eslint-plugin-no-use-extend-native'
export default [
// Preset config (enables rule as error)
eslintPluginNoUseExtendNative.configs.recommended,
// Or manually:
// {
// plugins: { 'no-use-extend-native': eslintPluginNoUseExtendNative },
// rules: { 'no-use-extend-native/no-use-extend-native': 2 },
// },
]
Errors
Common errors & fixes
Error: Failed to load plugin 'no-use-extend-native' declared in 'plugins': Cannot find module 'eslint-plugin-no-use-extend-native'
Plugin not installed or wrong import path.
fixRun 'npm install --save-dev eslint-plugin-no-use-extend-native' and ensure package.json includes it.
ESLint couldn't determine the plugin name from ESLint configuration: 'no-use-extend-native'
Using deprecated .eslintrc config format with flat config plugin.
fixSwitch to eslint.config.js and import the plugin as shown in Quickstart.
Parsing error: The keyword 'import' is reserved
Using require() instead of import in ESM-only context.
fixUse ESM import syntax: import eslintPluginNoUseExtendNative from 'eslint-plugin-no-use-extend-native'
Audit
Dependencies
eslintrequiredpeer dependency – plugin requires ESLint ^9.3.0