# @vita-mojo/eslint-plugin-eslint

> This library was generated with [Nx](https://nx.dev).

Latest version **1.0.0-eslint-f466c2e-447-rc.0** (published 2024-04-09) · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0-eslint-f466c2e-447-rc.0 |
| Published | 2024-04-09 |
| First published | 2022-11-24 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=18.16 |
| Dependencies | 13 |
| Unpacked size | 75.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | cicd_vitamojo, eugeniu.megherea, alexscrvitamojo, nadejde, aistrati, roman.caraus |

## Links

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

## Dependencies (13)

- [prettier](https://npm.io/package/prettier.md) ^3.0.0
- [eslint-plugin-node](https://npm.io/package/eslint-plugin-node.md) ^11.1.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.33.0
- [@babel/eslint-parser](https://npm.io/package/@babel/eslint-parser.md) ^7.23.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.29.0
- [@emotion/eslint-plugin](https://npm.io/package/@emotion/eslint-plugin.md) ^11.11.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.8.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^6.7.1
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^5.0.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^6.15.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^6.15.0
- [eslint-plugin-simple-import-sort](https://npm.io/package/eslint-plugin-simple-import-sort.md) ^10.0.0
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) ^3.5.5

## Recent versions

- 1.0.0-eslint-f466c2e-447-rc.0 (latest) — 2024-04-09
- 1.0.0-eslint-372c85b-955-rc.0 (rc) — 2025-12-18
- 1.0.0-eslint-e2cf111-954-rc.0 — 2025-12-18
- 1.0.0-eslint-9bf47da-953-rc.0 — 2025-12-18
- 1.0.0-eslint-a83923e-952-rc.0 — 2025-12-18
- 1.0.0-eslint-6a2acc1-951-rc.0 — 2025-12-18
- 1.0.0-eslint-c4854c1-948-rc.0 — 2025-12-17
- 1.0.0-eslint-7f39cad-947-rc.0 — 2025-12-17
- 1.0.0-eslint-78f1f91-791-rc.0 — 2025-08-11
- 1.0.0-eslint-6703257-790-rc.0 — 2025-08-11
- 1.0.0-eslint-3264999-636-rc.0 — 2025-01-31
- 1.0.0-eslint-304dcaf-635-rc.0 — 2025-01-21
- 1.0.0-eslint-61fc5d5-634-rc.0 — 2025-01-20
- 1.0.0-eslint-2a32421-622-rc.0 — 2024-11-28
- 1.0.0-eslint-e26b13f-615-rc.0 — 2024-10-23
- … 25 more at https://npm.io/package/@vita-mojo/eslint-plugin-eslint/versions

## README

# ESLint

This library was generated with [Nx](https://nx.dev).

## Installation

1.  Install the package:

    npm i --save-dev @vita-mojo/eslint-plugin-eslint

1.  Create an `.eslintrc.json` file in the root of the project with the following content:

        {
          "overrides": [
            {
              "extends": ["plugin:@vita-mojo/eslint/javascript"],
              "files": ["*.{js,jsx}"],
            },
            {
              "extends": ["plugin:@vita-mojo/eslint/browser", "plugin:@vita-mojo/eslint/react"],
              "files": ["src/*.{js,jsx,ts,tsx}"],
            },
            {
              "extends": ["plugin:@vita-mojo/eslint/node"],
              "files": ["scripts/*.{js,jsx,ts,tsx}"],
            },
            {
              "extends": ["plugin:@vita-mojo/eslint/service-worker"],
              "files": ["service-worker.js"]
            },
            {
              "extends": ["plugin:@vita-mojo/eslint/typescript", "plugin:@vita-mojo/eslint/prettier-typescript"],
              "files": ["*.{ts,tsx}"]
            },
            {
              "env": { "jest": true },
              "files": ["*.spec.{js,jsx,ts,tsx}", "*.test.{js,jsx,ts,tsx}"]
            },
            {
              "extends": ["plugin:@vita-mojo/eslint/prettier"],
              "files": ["*"]
            }
          ],
          "plugins": ["@vita-mojo/eslint"],
          "root": true
        }

    Some things to note about the config:

    - The `plugin:@vita-mojo/eslint/prettier` config must be extended last.

## Extending the Rules

In the `.eslintrc.json` file, the default rules can be overridden with custom ones if desired. These rules should be set
within an `overrides` block for the relevant file type.

The following is an example of what the config could look like if `ts-ignore` comments should be allowed:

    "overrides": [
      {
        "files": ["*.{ts,tsx}"],
        "rules": {
          "@typescript-eslint/ban-ts-comment": "off",
          "@typescript-eslint/no-inferrable-types": "off"
      }
    ]

If you make use of custom components for HTML elements, it's worth adding them to the ESLint settings in order to get
more accurate linting. For example:

    "settings": {
      "jsx-a11y": {
        "components": {
          "Button": "button",
          "Image": "img",
          "Input": "input",
          "Link": "a"
        }
      }
    }

For more information on this, see the `eslint-plugin-jsx-a11y`
[documentation](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/main#usage).

## Building

Run `nx build eslint` to build the library.

## Running unit tests

Run `nx test eslint` to execute the unit tests via [Jest](https://jestjs.io).

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