# @kiridevs_configs/eslint

> kiriDevs' default ESLint config (mainly made for Node18, using the new Flat Config format)

Latest version **3.0.0** (published 2023-07-11) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install @kiridevs_configs/eslint
pnpm add @kiridevs_configs/eslint
yarn add @kiridevs_configs/eslint
bun add @kiridevs_configs/eslint
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2023-07-11 |
| First published | 2023-07-05 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | kiriDevs |
| Maintainers | kiridevs |
| Keywords | eslint, node18, ecma2022 |

## Links

- npm: https://www.npmjs.com/package/@kiridevs_configs/eslint
- Repository: https://github.com/kiriDevs/configs
- Homepage: https://github.com/kiriDevs/configs#readme
- Issues: https://github.com/kiriDevs/configs/issues
- npm.io page: https://npm.io/package/@kiridevs_configs/eslint

## Dependencies (2)

- [globals](https://npm.io/package/globals.md) ^13.20.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.61.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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2023-07-11
- 2.0.0 — 2023-07-06
- 1.1.0 — 2023-07-06
- 1.0.1 — 2023-07-06
- 1.0.0 — 2023-07-05

## README

# `@kiridevs_configs/eslint`

This package contains my personal default `eslint` configuration.

**Note:** This package uses the new, Flat Config format (`eslint.config.js`).
This is only supported since ESLint version `v8.21.0`, and will not become the
default format before major version 9.

## Usage

Consult [`LICENSE.md`](./LICENSE.md) for license information.

This package is [published on `npm`](https://npmjs.com/package/@kiridevs_configs/eslint).

After installing it, create an `eslint.config.js` that re-exports this package's
default export:

```javascript
// eslint.config.json
export default (await import("@kiridevs_configs/eslint")).default;
```

### Extending

This package's `default` export is an array of Flat Config objects.
To extend it, follow standard practice for the ESLint Flat Config format
(see <https://eslint.org/docs/latest/use/configure/configuration-files-new>):

```javascript
// eslint.config.json
import kdConfig from "@kiridevs_configs/eslint";

export default [
  {
    // Allow 'debugger;' statements in CJS files
    files: ["src/**/*.cjs"],
    rules: {
        "no-debugger": "off"
    }
  }, // Make sure your OVERrides are OVER the base config
  ...kdConfig // Spread array elements into this new array
];
```

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