# @devpow112/eslint-config

> Shareable eslint configuration

Latest version **4.1.17** (published 2026-07-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @devpow112/eslint-config
pnpm add @devpow112/eslint-config
yarn add @devpow112/eslint-config
bun add @devpow112/eslint-config
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 4.1.17 |
| Published | 2026-07-12 |
| First published | 2022-01-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 7 |
| Unpacked size | 8.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Author | Devon Powell |
| Maintainers | devpow112 |
| Keywords | eslint-config |

## Links

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

## Dependencies (7)

- [eslint](https://npm.io/package/eslint.md) ^9
- [globals](https://npm.io/package/globals.md) ^17
- [@eslint/js](https://npm.io/package/@eslint/js.md) ^9
- [eslint-plugin-mocha](https://npm.io/package/eslint-plugin-mocha.md) ^11
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2
- [@stylistic/eslint-plugin](https://npm.io/package/@stylistic/eslint-plugin.md) ^5
- [eslint-plugin-chai-friendly](https://npm.io/package/eslint-plugin-chai-friendly.md) ^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

- 4.1.17 (latest) — 2026-07-12
- 4.1.16 — 2026-07-12
- 4.1.15 — 2026-06-25
- 4.1.14 — 2026-05-23
- 4.1.13 — 2026-04-30
- 4.1.12 — 2026-04-07
- 4.1.11 — 2026-04-03
- 4.1.10 — 2026-04-03
- 4.1.9 — 2026-04-03
- 4.1.8 — 2026-04-02
- 4.1.7 — 2026-03-28
- 4.1.6 — 2026-03-21
- 4.1.5 — 2026-03-13
- 4.1.4 — 2026-03-13
- 4.1.3 — 2025-11-19
- … 27 more at https://npm.io/package/@devpow112/eslint-config/versions

## README

# ESLint Configuration

[![License][License Badge]](LICENSE)
[![Version][Version Badge]][Version Package]
[![Release][Release Badge]][Release Workflow]
[![Node Version][Node Version Badge]](package.json#L56)

Shareable eslint configuration.

## Installation

```console
npm i -D @devpow112/eslint-config
```

## Usage

The shareable config can be configured in the [ESLint Configuration] file. There
are currently 2 config types `nodeConfigs` and `testConfigs`. They will work for
both `commonjs` and `module` based set-ups.

### `commonjs`

```js
const { nodeConfigs, testConfigs } = require('@devpow112/eslint-config');
const { defineConfig } = require('eslint/config');
const { includeIgnoreFile } = require('@eslint/compat');
const { resolve } = require('node:path');

const gitignorePath = resolve(__dirname, '.gitignore');

module.exports = defineConfig([
  includeIgnoreFile(gitignorePath),
  ...nodeConfigs,
  ...testConfigs
]);
```

### `modules`

```js
import { nodeConfigs, testConfigs } from './src/index.js';
import { defineConfig } from 'eslint/config';
import { fileURLToPath } from 'node:url';
import { includeIgnoreFile } from '@eslint/compat';

const gitignorePath = fileURLToPath(new URL('.gitignore', import.meta.url));

export default defineConfig([
  includeIgnoreFile(gitignorePath),
  ...nodeConfigs,
  ...testConfigs
]);
```

## Development

Development can be done on any machine that can install **Node.js**. Only the
latest LTS version is tested against.

### Install Dependencies

Install dependencies via `npm`.

```console
npm i
```

### Linting

Execute linters via `npm`.

```console
# git, javascript, markdown and package.json
npm run lint

# git only
npm run lint:git

# javascript only
npm run lint:js

# markdown only
npm run lint:md

# package.json only
npm run lint:pkg
```

### Fixing

Execute automatic fixers via `npm`.

```console
# javascript, markdown and package.json
npm run fix

# javascript only
npm run fix:js

# markdown only
npm run fix:md

# package.json only
npm run fix:pkg
```

<!-- links -->
[License Badge]: https://img.shields.io/github/license/devpow112/eslint-config?label=License
[Version Badge]: https://img.shields.io/npm/v/@devpow112/eslint-config?label=Version
[Version Package]: https://www.npmjs.com/@devpow112/eslint-config
[Node Version Badge]: https://img.shields.io/node/v/@devpow112/eslint-config
[Release Badge]: https://github.com/devpow112/eslint-config/actions/workflows/release.yml/badge.svg?branch=main
[Release Workflow]: https://github.com/devpow112/eslint-config/actions/workflows/release.yml?query=branch%3Amain
[ESLint Configuration]: https://eslint.org/docs/user-guide/configuring

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