2.1.1 • Published 8 years ago

hapi-scope-start v2.1.1

Weekly downloads
16,961
License
MIT
Repository
github
Last release
8 years ago

hapi-scope-start

Current Version Build Status via Travis CI Dependencies

ESLint rule to enforce new line at the beginning of function scope

Rule Options

allow-one-liners

If the string 'allow-one-liners' is passed as the first option to this rule, then functions whose bodies contain zero or one statements are allowed to be written on a single line. This defaults to true for arrow functions, and false otherwise.

max-in-one-liner

The second option to this rule dictates the maximum number of statements allowed in the bodies of one line function. This must be used in conjunction with allow-one-liners. Defaults to one.

2.1.1

8 years ago

2.1.0

8 years ago

2.0.0

9 years ago

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago