# tslint-lines-between-decorator-and-class

> TSLint rule to enforce number of new lines between a class and its decorator - designed with Angular projects in mind

Latest version **1.0.1** (published 2017-12-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install tslint-lines-between-decorator-and-class
pnpm add tslint-lines-between-decorator-and-class
yarn add tslint-lines-between-decorator-and-class
bun add tslint-lines-between-decorator-and-class
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-12-11 |
| First published | 2017-12-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Heather Roberts |
| Maintainers | chinchiheather |
| Keywords | tslint, custom-tslint-rule |

## Links

- npm: https://www.npmjs.com/package/tslint-lines-between-decorator-and-class
- Repository: https://github.com/chinchiheather/tslint-lines-between-decorator-and-class
- Homepage: https://github.com/chinchiheather/tslint-lines-between-decorator-and-class#readme
- Issues: https://github.com/chinchiheather/tslint-lines-between-decorator-and-class/issues
- npm.io page: https://npm.io/package/tslint-lines-between-decorator-and-class

## 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
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-12-11
- 1.0.0 — 2017-12-11

## README

# tslint-lines-between-decorator-and-class
TSLint rule to enforce number of new lines between a class and its decorator - designed with Angular projects in mind

## Setup
1. Install package

```
npm install --save-dev tslint-lines-between-decorator-and-class
```
2. Update your tslint.json config file, adding the new rules directory and rule, specifying the number of new lines you want to enforce

```
{
  "rulesDirectory": [
    ...
    "node_modules/tslint-lines-between-decorator-and-class"
    ...
  ],
  "rules": {
    ...
    "lines-between-decorator-and-class": [
      true,
      0
    ]
    ...
  }
}

---
_Source: https://npm.io/package/tslint-lines-between-decorator-and-class · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
