Registry / testing / eslint-plugin-mizyind

eslint-plugin-mizyind

JSON →
library9.0.7jsnpmunverified

eslint-plugin-mizyind is a personal ESLint plugin by miZyind providing custom lint rules and config presets for ESLint v9 flat config. The current stable version is 9.0.7, with release cadence roughly monthly. It enforces custom rules (e.g., filename naming conventions) and offers shared configs for Next.js and TypeScript. Key differentiators: tailored for miZyind's personal style with minimal dependencies, requires Node >=24 and ESLint >=9. The plugin is ESM-only from v9 and supports TypeScript out of the box via bundled configs. It is designed for single-user or small-team use, not a community standard.

npm install eslint-plugin-mizyind
INSTALL
IMPORT
SIG · ESLINT-PLUGIN-MIZY
E
eslint-plugin-mizyind
testingjavascriptv9.0.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.

configs.base
module.exports = require('eslint-plugin-mizyind').configs.base;
module.exports = require('eslint-plugin-mizyind').configs.base();
configs.base is an object, not a function; do not call it.
configs.next
module.exports = require('eslint-plugin-mizyind').configs.next;
import { configs } from 'eslint-plugin-mizyind'; export default configs.next;
The plugin does not ship ESM exports; use CommonJS require in eslint.config.js.
rules['mizyind/filename']
const plugin = require('eslint-plugin-mizyind'); plugin.rules['mizyind/filename'];
import { rules } from 'eslint-plugin-mizyind';
rules property is not exported at top level; access via the plugin object.

Shows how to use the base flat config in eslint.config.js with require().

// eslint.config.js module.exports = require('eslint-plugin-mizyind').configs.base; // Then run: npx eslint . // For Next.js: // module.exports = require('eslint-plugin-mizyind').configs.next; // For TypeScript: // module.exports = require('eslint-plugin-mizyind').configs.typescript;
Debug
Known issues
breakingNode >=24 required starting from v9.0.0.
fix
Upgrade Node.js to version 24 or later.
affects: >=9.0.0
breakingESLint >=9 required; no support for .eslintrc config files.
fix
Migrate to eslint.config.js flat config and use ESLint 9+.
affects: >=9.0.0
breakingPlugin v9 uses OIDC instead of access token for releases (internal).
fix
If self-hosting or forking, ensure OIDC is configured or downgrade to v8.
affects: 9.0.0
deprecatedThe 'mizyind/filename' rule may receive breaking changes in future versions.
fix
Monitor release notes; consider pinning minor version.
affects: >=9.0.0
gotchaThe plugin does not export ES modules; require() is mandatory in eslint.config.js.
fix
Use CommonJS require, not import, in your config file (eslint.config.js).
affects: >=9.0.0
gotchaOnly one custom rule 'mizyind/filename' is provided; no other rules are contributed.
fix
If you need additional rules, extend other plugins separately.
affects: >=9.0.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint-plugin-mizyind'
Plugin not installed or wrong package name.
fix
Run 'yarn add eslint-plugin-mizyind -D' or 'npm install eslint-plugin-mizyind --save-dev'.
TypeError: plugin.configs.base is not a function
Attempting to call configs.base() as a function.
fix
Use 'require('eslint-plugin-mizyind').configs.base' without parentheses.
ESLint couldn't find the config 'mizyind'.
Trying to use 'extends' with string 'mizyind' in .eslintrc.
fix
Use flat config format (eslint.config.js) and assign configs.base directly.
Upgrade
Version history
9.0.7latest on npm
Audit
Dependencies
eslintrequiredpeer dependency – plugin works with ESLint >=9
prettieroptionalpeer dependency – plugin may integrate with Prettier formatting rules
typescriptoptionalpeer dependency – required for TypeScript configs
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-plugin-mizyind — npm install eslint-plugin-mizyind · libregistry