# @rql/eslint-plugin

> Description

Latest version **0.1.0** (published 2021-01-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @rql/eslint-plugin
pnpm add @rql/eslint-plugin
yarn add @rql/eslint-plugin
bun add @rql/eslint-plugin
```

## Health

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

Positive: has types; no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2021-01-20 |
| First published | 2021-01-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Unpacked size | 5.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Frank Bessou |
| Maintainers | fbessou |
| Keywords | eslint, eslintplugin, eslint-plugin |

## Links

- npm: https://www.npmjs.com/package/@rql/eslint-plugin
- npm.io page: https://npm.io/package/@rql/eslint-plugin

## Dependencies (1)

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

## Recent versions

- 0.1.0 (latest) — 2021-01-20

## README

# eslint-plugin-rql

Eslint plugin which provides lint rules for *RQL* queries

## Installation

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

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

Next, install `@rql/eslint-plugin`:

```
$ npm install @rql/eslint-plugin --save-dev
```


## Usage

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

```json
{
    "plugins": [
        "@rql"
    ]
}
```


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

```json
{
    "rules": {
        "@rql/rule-name": 2
    }
}
```

## Supported Rules


| Name                                                         | Description                                                                       |
| -------------------------------------------------------------| --------------------------------------------------------------------------------- |
| [`@rql/no-undeclared-var`](./docs/rules/no-undeclared-var.md)| Require selected variables to appear in the restriction part of search queries.   |

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