1.1.0 • Published 6 months ago
@readme/eslint-plugin v1.1.0
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 |
1.1.0
6 months ago