# hapi-scope-start

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

Latest version **2.1.1** (published 2015-10-31) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install hapi-scope-start
pnpm add hapi-scope-start
yarn add hapi-scope-start
bun add hapi-scope-start
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.1.1 |
| Published | 2015-10-31 |
| First published | 2015-04-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Continuation Labs |
| Maintainers | cjihrig, arb |
| Keywords | eslint, eslintplugin, hapi, scope |

## Links

- npm: https://www.npmjs.com/package/hapi-scope-start
- Repository: https://github.com/continuationlabs/hapi-scope-start
- Issues: https://github.com/continuationlabs/hapi-scope-start/issues
- npm.io page: https://npm.io/package/hapi-scope-start

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 2.1.1 (latest) — 2015-10-31
- 2.1.0 — 2015-10-30
- 2.0.0 — 2015-10-25
- 1.1.4 — 2015-10-23
- 1.1.3 — 2015-10-13
- 1.1.2 — 2015-08-02
- 1.1.1 — 2015-06-09
- 1.1.0 — 2015-05-19
- 1.0.0 — 2015-04-08

## README

# hapi-scope-start

[![Current Version](https://img.shields.io/npm/v/hapi-scope-start.svg)](https://www.npmjs.org/package/hapi-scope-start)
[![Build Status via Travis CI](https://travis-ci.org/continuationlabs/hapi-scope-start.svg?branch=master)](https://travis-ci.org/continuationlabs/hapi-scope-start)
![Dependencies](http://img.shields.io/david/continuationlabs/hapi-scope-start.svg)

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.

---
_Source: https://npm.io/package/hapi-scope-start · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
