# eslint-plugin-brikke

> Brikke custom ESLint rules

Latest version **2.2.2** (published 2021-10-01) · ISC license · 0 weekly downloads

## Install

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

## 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 | 2.2.2 |
| Published | 2021-10-01 |
| First published | 2019-05-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 2 |
| Unpacked size | 13.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | leboncoin |
| Maintainers | leboncoinadmin, inside_, thibautsabot, jeremiep0, yspychala |
| Keywords | eslint, eslintplugin, eslint-plugin |

## Links

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

## Dependencies (2)

- [minimatch](https://npm.io/package/minimatch.md) ^3.0.4
- [read-pkg-up](https://npm.io/package/read-pkg-up.md) ^7.0.1

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

- 2.2.2 (latest) — 2021-10-01
- 2.2.1 — 2021-10-01
- 2.2.0 — 2021-07-02
- 2.1.1 — 2021-06-24
- 2.1.0 — 2021-06-24
- 2.0.0 — 2020-09-07
- 1.1.0 — 2020-04-06
- 1.0.7 — 2020-03-24
- 1.0.6 — 2020-03-23
- 1.0.5 — 2020-03-23
- 1.0.4 — 2020-03-23
- 1.0.3 — 2020-03-23
- 1.0.2 — 2019-05-07
- 1.0.0 — 2019-05-07

## README

# eslint-plugin-brikke

Brikke custom ESLint rules

## Installation

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

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

Next, install `eslint-plugin-brikke`:

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

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

## Usage

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

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


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

```json
{
  "rules": {
    "brikke/rule-name": ["off|warning|error"]
  }
}
```

## Supported Rules

### no-css-dist

### no-undeclared-imports

```js
// .eslintrc.js
module.exports = {
  rules: {
    'brikke/no-undeclared-imports': [
      'error',
      {
        excludedFilePatterns: ['*.spec.js', '*.spec.tsx', '*.spec.ts', '*.stories.js'],
        excludedModules: [/^\$src\//, '$config', /@brikke\/[^/]+\/dist\/.+/],
        // Path to a package.json containing a list of dependencies and/or devDependencies
        // to give a hint about about what type of dependency has been reported
        packageBlueprintFile: './foo/bar/package.json',
      },
    ],
  },
}
```

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