eslint-plugin-trim
v0.6.0
Published
## Installation
Downloads
132
Readme
eslint-plugin-trim
Installation
# yarn
yarn add -D eslint-plugin-trim
# npm
npm install -D eslint-plugin-trim
Configuration
{
"plugins": ["trim"],
"rules": {
"trim/argument": "error",
"trim/class-name": "error"
}
}
List of supported rules
✔️: Enabled in the recommended configuration.
🔧: Fixable with eslint --fix.
| ✔️ | 🔧 | Rule | Description | | :-: | :-: | :-------------------------------------------------------------------------------------------- | :---------------- | | | 🔧 | argument | Enforce argument | | | 🔧 | class-name | Enforce className |