# eslint-plugin-fsd-helper

> checks imports for FSD architecture

Latest version **0.0.8** (published 2023-01-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-fsd-helper
pnpm add eslint-plugin-fsd-helper
yarn add eslint-plugin-fsd-helper
bun add eslint-plugin-fsd-helper
```

## 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.8 |
| Published | 2023-01-13 |
| First published | 2022-12-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ^14.17.0 \|\| ^16.0.0 \|\| >= 18.0.0 |
| Dependencies | 2 |
| Unpacked size | 21.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | kostya |
| Maintainers | kostyadevman |
| Keywords | eslint, eslintplugin, eslint-plugin |

## Links

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

## Dependencies (2)

- [micromatch](https://npm.io/package/micromatch.md) ^4.0.5
- [requireindex](https://npm.io/package/requireindex.md) ^1.2.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.8 (latest) — 2023-01-13
- 0.0.7 — 2023-01-06
- 0.0.6 — 2023-01-04
- 0.0.5 — 2023-01-03
- 0.0.4 — 2023-01-03
- 0.0.3 — 2022-12-10
- 0.0.2 — 2022-12-10
- 0.0.1 — 2022-12-10
- 0.0.0 — 2022-12-10

## README

# eslint-plugin-fsd-helper

checks imports for [FSD](https://feature-sliced.design/) architecture

## Installation

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

```sh
npm i eslint --save-dev
```

Next, install `eslint-plugin-fsd-helper`:

```sh
npm install eslint-plugin-fsd-helper --save-dev
```

## Usage

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

```json
{
    "plugins": [
        "fsd-helper"
    ]
}
```


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

```json
{
    "rules": {
        "fsd-helper/path-ckecker": ["error", { "alias": "@" }],
        "fsd-helper/public-api-imports": ["error", { "alias": "@" }],
        "fsd-helper/layer-imports": [
            "error",
            {
            "alias": "@",
            "ignoreImportPatterns": ["**/StoreProvider"]
            }
        ]
        
    }
}
```

## Supported Rules

* Fill in provided rules here

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