eslint-plugin-random

0.0.1 • Public • Published

Eslint Plugins

Just a collection of random plugins.

arrow-function-parens

Requires that parens are not wrapping single arguments inside of arrow functions.

Valid:

  'a.then(foo => {});',
  'a.then(foo => a);',
  'a.then((foo, bar) => {});',
  'a.then((foo, bar) => a);'

Invalid:

  'a.then((foo) => {});',
  'a.then((foo) => { if (true) {}; });'

Package Sidebar

Install

npm i eslint-plugin-random

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • kevingrandon