eslint-plugin-readme
v2.0.0
Published
ESLint plugin providing custom rules for ReadMe's coding standards
Downloads
5,435
Readme
eslint-plugin-readme
Custom ESLint plugin for some ReadMe engineering guidelines and gotchas.
Usage
In .eslintrc
file add the following line:
extends: ['plugin:readme/<config>'],
plugins: ['readme'],
🔖 Available Configs
| Config | Description |
| :--- | :--- |
| esm
| Rules specific to ESM libraries. |
📖 Rules
| Rule | Description | Config |
| :--- | :--- | :--- |
| no-dual-exports | Prevent cases of having a file with dual default
and named exports. | esm
|