Registry / testing / eslint-plugin-mysticatea

eslint-plugin-mysticatea

JSON →
library4.2.4jsnpmunverified

Additional ESLint rules and configurations from Toru Nagashima. Current stable version 4.2.4 supports ESLint >= 3.1.0 and Node.js ^4.0.0 or >=6.0.0. Provides rules for blocking scope, instanceof checks, array detection, rest/spread patterns, and more. Package was renamed to @mysticatea/eslint-plugin after v5.0.0, with breaking changes dropping Node.js 4.x and ESLint 3.x/4.x. Notable for its curated set of rules and integrations with TypeScript and Vue.

npm install eslint-plugin-mysticatea
INSTALL
IMPORT
SIG · ESLINT-PLUGIN-MYST
E
eslint-plugin-mysticatea
testingjavascriptv4.2.4
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.

plugin (default)
import plugin from 'eslint-plugin-mysticatea'
const plugin = require('eslint-plugin-mysticatea')
ESM import works; CJS require also valid but prefer ESM
rules
import { rules } from 'eslint-plugin-mysticatea'
import { rules } from 'eslint-plugin-mysticatea/rules'
Directly import from package root
configs
import { configs } from 'eslint-plugin-mysticatea'
const configs = require('eslint-plugin-mysticatea').configs
Both ESM and CJS work

Shows how to install and use the plugin with a single rule in both flat and legacy ESLint configs.

// eslint.config.js (Flat config) import plugin from 'eslint-plugin-mysticatea'; export default [ { plugins: { mysticatea: plugin }, rules: { 'mysticatea/no-useless-rest-spread': 'error' } } ]; // or Legacy config (.eslintrc) // { // "plugins": ["mysticatea"], // "rules": { // "mysticatea/no-useless-rest-spread": "error" // } // }
Debug
Known issues
breakingPackage renamed to @mysticatea/eslint-plugin in v5.0.0, dropping support for Node.js 4.x and ESLint 3.x/4.x.
fix
Update package to @mysticatea/eslint-plugin and adjust imports/configs accordingly.
affects: >=5.0.0
breakingESLint flat config (eslint.config.js) not supported until later versions; legacy .eslintrc required for v4.x.
fix
Use legacy ESLint config format, or upgrade to v5+ with flat config support.
affects: <5.0.0
deprecatedv4.x is deprecated and will no longer receive updates due to package rename.
fix
Upgrade to @mysticatea/eslint-plugin (v5 or later).
affects: >=4.0.0 <5.0.0
gotchaRule 'no-useless-rest-spread' may not fix arrays with holes automatically (see v4.2.3 changelog).
fix
Manually review arrays with holes; the auto-fix changes behavior (e.g., [,,,1] vs [...[,,,],1]).
affects: >=4.2.3
Errors
Common errors & fixes
Error: Cannot find module 'eslint-plugin-mysticatea'
Package renamed to @mysticatea/eslint-plugin after v5.0.0.
fix
Run npm install @mysticatea/eslint-plugin --save-dev and update references.
ESLint configuration error: The plugin 'mysticatea' was not found.
Trying to use the plugin without proper installation or in flat config without specifying 'plugins'.
fix
Ensure the plugin is installed and added to plugins array in eslint.config.js.
TypeError: plugin.rules is undefined
Attempting to import rules incorrectly (e.g., requiring 'eslint-plugin-mysticatea/rules').
fix
Import directly: import { rules } from 'eslint-plugin-mysticatea'.
Upgrade
Version history
4.2.4latest on npm
Audit
Dependencies
eslintrequiredpeer dependency for ESLint plugin functionality
Agent activity
6 hits · last 30 days
node
6
Resources
eslint-plugin-mysticatea — npm install eslint-plugin-mysticatea · libregistry