# eslint-plugin-lola

> Enforce Lola javascript conventions

Latest version **0.0.5** (published 2018-06-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-lola
pnpm add eslint-plugin-lola
yarn add eslint-plugin-lola
bun add eslint-plugin-lola
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2018-06-23 |
| First published | 2018-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Unpacked size | 11.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kevin LaFlamme |
| Maintainers | lamflam |
| Keywords | eslint, eslintplugin, eslint-plugin |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-lola
- Repository: https://github.com/lolatravel/eslint-plugin-lola
- Homepage: https://github.com/lolatravel/eslint-plugin-lola#readme
- Issues: https://github.com/lolatravel/eslint-plugin-lola/issues
- npm.io page: https://npm.io/package/eslint-plugin-lola

## Dependencies (1)

- [requireindex](https://npm.io/package/requireindex.md) ~1.1.0

## 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

- 0.0.5 (latest) — 2018-06-23
- 0.0.4 — 2018-03-07
- 0.0.3 — 2018-03-07
- 0.0.2 — 2018-02-28

## README

# eslint-plugin-lola

Enforce Lola javascript conventions

## Installation

You'll first need to install [ESLint](http://eslint.org):

```
$ npm i eslint --save-dev
```

Next, install `eslint-plugin-lola`:

```
$ npm install eslint-plugin-lola --save-dev
```

**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-lola` globally.

## Usage

Add `lola` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:

```json
{
    "plugins": [
        "lola"
    ]
}
```


Then configure the rules you want to use under the rules section.

```json
{
    "rules": {
        "lola/no-arrow-class-properties": 2
    }
}
```

or use the statndard lola configuration

```json
{
    "extends": [
        "plugin:lola/standard"
    ]
}
```

## Supported Rules

[`no-arrow-class-properties`](docs/rules/no-arrow-class-properties.md) - Don't allow arrow functions on classes<br>
[`no-default-export`](docs/rules/no-default-export.md) - Don't allow `export default` statements<br>
[`required-exports`](docs/rules/required-exports.md) - Require certain names to be exported, configurable by file/path<br>
[`no-nested-ternary`](docs/rules/no-nested-ternary.md) - eslint core `no-nested-ternary` rule with an option to allow chaining<br>

### Deprecated
[`limit-nested-ternaries`](docs/rules/limit-nested-ternaries.md) - Limit depth of ternary nesting

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