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 |