Registry / testing / eslint-plugin-hyoban

eslint-plugin-hyoban

JSON →
library0.14.1jsnpmunverified

Hyoban extended ESLint rules is an ESLint plugin offering custom rules for enforcing formatting and code style conventions, currently at v0.14.1. It includes rules such as `md-one-sentence-per-line` to enforce one sentence per line in markdown paragraphs, as well as other rules for code quality. The plugin is distributed as an npm package, actively maintained with frequent releases, and it ships TypeScript type definitions. It differentiates itself by providing targeted rules for markdown layout and extending ESLint's capabilities beyond standard rule sets.

npm install eslint-plugin-hyoban
INSTALL
IMPORT
SIG · ESLINT-PLUGIN-HYOB
E
eslint-plugin-hyoban
testingjavascriptv0.14.1
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-hyoban
module.exports.plugins = ['hyoban']
import hyoban from 'eslint-plugin-hyoban'
Plugins are loaded by name in ESLint, not imported as default.
rules
import plugin from 'eslint-plugin-hyoban' // then access plugin.rules
To programmatically access rule definitions, import the module and access its .rules property.
plugin
import plugin from 'eslint-plugin-hyoban'
const plugin = require('eslint-plugin-hyoban').default
The package is ESM-ready; simply import default export.

Configures ESLint to use the hyoban plugin and enables the md-one-sentence-per-line rule.

// .eslintrc.cjs module.exports = { plugins: ['hyoban'], rules: { 'hyoban/md-one-sentence-per-line': 'error', 'hyoban/other-rule': 'warn' } }; // Or flat config (eslint.config.js) import hyoban from 'eslint-plugin-hyoban'; export default [ { plugins: { hyoban }, rules: { 'hyoban/md-one-sentence-per-line': 'error', } } ];
Debug
Known issues
gotchaThe `md-one-sentence-per-line` rule applies to all paragraphs in Markdown files, not just root-level ones (since v0.14.0). This may cause unintended formatting changes.
fix
Use the `ignorePatterns` option added in v0.14.1 to exclude specific paragraphs or elements.
affects: >=0.14.0
deprecatedPlugin does not explicitly deprecate rules but users should check for version updates as some rule names may change.
fix
Always reference the latest documentation for rule names and options.
affects: >=0.0.0
gotchaTo use with flat config (ESLint >=9.0.0), you must import the plugin as a default export and then destructure the plugins key.
fix
Use `import hyoban from 'eslint-plugin-hyoban';` then `plugins: { hyoban }` in flat config.
affects: >=0.0.0
Errors
Common errors & fixes
ESLint couldn't find the plugin "eslint-plugin-hyoban".
Plugin not installed or not declared in package.json.
fix
Run: `npm install eslint-plugin-hyoban --save-dev`
Configuration for rule "hyoban/md-one-sentence-per-line" is invalid: Unsupported option ignorePatterns.
Using `ignorePatterns` option with plugin version <0.14.1.
fix
Upgrade to >=0.14.1: `npm install eslint-plugin-hyoban@latest --save-dev`
Cannot find module 'eslint-plugin-hyoban' when using flat config.
Incorrect import syntax for flat config.
fix
Use `import hyoban from 'eslint-plugin-hyoban';`
Upgrade
Version history
0.14.1latest on npm
Audit
Dependencies
eslintrequiredpeer dependency required to use the plugin
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-plugin-hyoban — npm install eslint-plugin-hyoban · libregistry