eslint-plugin-nowrap-in-template-string
Version:
No wrap in template string rule for Eslint
20 lines (16 loc) • 410 B
Markdown
Because wrap in template string will bring unexpected new line symbol and space,
this plugin provide a rule which disallow wrap in template string.
```bash
npm i eslint-plugin-nowrap-in-template-string -D
```
in `.eslintrc`:
```json
"plugins": [
"nowrap-in-template-string"
],
"rules": {
"nowrap-in-template-string/nowrap-in-template-string": 2
}
```