{"id":25519,"library":"eslint-plugin-mizyind","title":"eslint-plugin-mizyind","description":"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.","status":"active","version":"9.0.7","language":"javascript","source_language":"en","source_url":"ssh://git@github.com/miZyind/eslint-plugin-mizyind","tags":["javascript","eslint","eslintplugin"],"install":[{"cmd":"npm install eslint-plugin-mizyind","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-plugin-mizyind","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-plugin-mizyind","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency – plugin works with ESLint >=9","package":"eslint","optional":false},{"reason":"peer dependency – plugin may integrate with Prettier formatting rules","package":"prettier","optional":true},{"reason":"peer dependency – required for TypeScript configs","package":"typescript","optional":true}],"imports":[{"note":"configs.base is an object, not a function; do not call it.","wrong":"module.exports = require('eslint-plugin-mizyind').configs.base();","symbol":"configs.base","correct":"module.exports = require('eslint-plugin-mizyind').configs.base;"},{"note":"The plugin does not ship ESM exports; use CommonJS require in eslint.config.js.","wrong":"import { configs } from 'eslint-plugin-mizyind'; export default configs.next;","symbol":"configs.next","correct":"module.exports = require('eslint-plugin-mizyind').configs.next;"},{"note":"rules property is not exported at top level; access via the plugin object.","wrong":"import { rules } from 'eslint-plugin-mizyind';","symbol":"rules['mizyind/filename']","correct":"const plugin = require('eslint-plugin-mizyind'); plugin.rules['mizyind/filename'];"}],"quickstart":{"code":"// eslint.config.js\nmodule.exports = require('eslint-plugin-mizyind').configs.base;\n// Then run: npx eslint .\n// For Next.js:\n// module.exports = require('eslint-plugin-mizyind').configs.next;\n// For TypeScript:\n// module.exports = require('eslint-plugin-mizyind').configs.typescript;","lang":"javascript","description":"Shows how to use the base flat config in eslint.config.js with require()."},"warnings":[{"fix":"Upgrade Node.js to version 24 or later.","message":"Node >=24 required starting from v9.0.0.","severity":"breaking","affected_versions":">=9.0.0"},{"fix":"Migrate to eslint.config.js flat config and use ESLint 9+.","message":"ESLint >=9 required; no support for .eslintrc config files.","severity":"breaking","affected_versions":">=9.0.0"},{"fix":"If self-hosting or forking, ensure OIDC is configured or downgrade to v8.","message":"Plugin v9 uses OIDC instead of access token for releases (internal).","severity":"breaking","affected_versions":"9.0.0"},{"fix":"Monitor release notes; consider pinning minor version.","message":"The 'mizyind/filename' rule may receive breaking changes in future versions.","severity":"deprecated","affected_versions":">=9.0.0"},{"fix":"Use CommonJS require, not import, in your config file (eslint.config.js).","message":"The plugin does not export ES modules; require() is mandatory in eslint.config.js.","severity":"gotcha","affected_versions":">=9.0.0"},{"fix":"If you need additional rules, extend other plugins separately.","message":"Only one custom rule 'mizyind/filename' is provided; no other rules are contributed.","severity":"gotcha","affected_versions":">=9.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'yarn add eslint-plugin-mizyind -D' or 'npm install eslint-plugin-mizyind --save-dev'.","cause":"Plugin not installed or wrong package name.","error":"Error: Cannot find module 'eslint-plugin-mizyind'"},{"fix":"Use 'require('eslint-plugin-mizyind').configs.base' without parentheses.","cause":"Attempting to call configs.base() as a function.","error":"TypeError: plugin.configs.base is not a function"},{"fix":"Use flat config format (eslint.config.js) and assign configs.base directly.","cause":"Trying to use 'extends' with string 'mizyind' in .eslintrc.","error":"ESLint couldn't find the config 'mizyind'."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}