# eslint-plugin-pri

> eslint plugin for pri

Latest version **0.0.5** (published 2022-05-07) · ISC license · 0 weekly downloads

## Install

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

## 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 | 2022-05-07 |
| First published | 2021-03-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 10.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | liangcy |
| Maintainers | liangcy |
| Keywords | eslint, eslint-plugin, pri |

## Links

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

## Dependencies (2)

- [fs-extra](https://npm.io/package/fs-extra.md) ^9.1.0
- [eslint-module-utils](https://npm.io/package/eslint-module-utils.md) ^2.6.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.0.5 (latest) — 2022-05-07
- 0.0.4 — 2022-04-25
- 0.0.3 — 2021-08-17
- 0.0.2 — 2021-03-30
- 0.0.1 — 2021-03-30

## README

## Usage

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

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

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

```json
{
  "rules": {
    "pri/no-src-import": 2,
    "pri/no-self-import": 2
  }
}
```

## Supported Rules

- `no-src-import`: Forbid import another package using relative path
- `no-self-import`: Forbid import package using name in the package itself

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