eslint-plugin-nowrap-in-template-string

0.0.2 • Public • Published

eslint-plugin-nowrap-in-template-string

Because wrap in template string will bring unexpected new line symbol and space, this plugin provide a rule which disallow wrap in template string.

Usage

npm i eslint-plugin-nowrap-in-template-string -D

in .eslintrc:

"plugins": [
  "nowrap-in-template-string"
],
"rules": {
  "nowrap-in-template-string/nowrap-in-template-string": 2
}

/eslint-plugin-nowrap-in-template-string/

    Package Sidebar

    Install

    npm i eslint-plugin-nowrap-in-template-string

    Weekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • cool_zjy