0.6.0 ā¢ Published 2 months ago
eslint-plugin-trim v0.6.0
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 |