@arnaud-barre/eslint-plugin-custom

1.1.0 • Public • Published

eslint-plugin-custom npm

Custom rules for @arnaud-barre/eslint-config:

  • jsx-no-lonely-template-string: Enforce {`Hello ${name}`} -> Hello {name} in JSX
  • jsx-no-number-truthiness: Disallow list.length && ... in JSX
  • no-useless-template-string: Enforce `Hello` -> "Hello"
  • one-line-if: Enforce if (condition) ... on one line when possible

Readme

Keywords

none

Package Sidebar

Install

npm i @arnaud-barre/eslint-plugin-custom

Weekly Downloads

400

Version

1.1.0

License

MIT

Unpacked Size

11 kB

Total Files

9

Last publish

Collaborators

  • arnaud-barre