# eslint-plugin-ntnyq

> An opinionated ESLint plugin.

Latest version **0.18.1** (published 2026-09-24) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.18.1 |
| Published | 2026-09-24 |
| First published | 2023-03-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 45.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 4 |
| Author | ntnyq |
| Maintainers | ntnyq |
| Keywords | eslint, eslint-plugin, ntnyq |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-ntnyq
- Repository: https://github.com/ntnyq/eslint-plugin-ntnyq
- Homepage: https://eslint-plugin.ntnyq.com
- Issues: https://github.com/ntnyq/eslint-plugin-ntnyq/issues
- npm.io page: https://npm.io/package/eslint-plugin-ntnyq

## Dependencies (2)

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

## Recent versions

- 0.18.1 (latest) — 2026-09-24
- 0.18.0 — 2026-09-23
- 0.17.0 — 2026-09-16
- 0.16.0 — 2026-09-01
- 0.15.1 — 2026-08-27
- 0.15.0 — 2026-08-27
- 0.14.0 — 2026-04-01
- 0.13.0 — 2026-02-28
- 0.12.0 — 2025-08-04
- 0.11.0 — 2025-03-11
- 0.10.0 — 2025-03-03
- 0.9.2 — 2025-01-05
- 0.9.1 — 2025-01-02
- 0.9.0 — 2025-01-02
- 0.8.2 — 2024-12-29
- … 17 more at https://npm.io/package/eslint-plugin-ntnyq/versions

## README

# eslint-plugin-ntnyq

[![CI](https://github.com/ntnyq/eslint-plugin-ntnyq/workflows/CI/badge.svg)](https://github.com/ntnyq/eslint-plugin-ntnyq/actions)
[![NPM VERSION](https://img.shields.io/npm/v/eslint-plugin-ntnyq.svg)](https://www.npmjs.com/package/eslint-plugin-ntnyq)
[![NPM DOWNLOADS](https://img.shields.io/npm/dy/eslint-plugin-ntnyq.svg)](https://www.npmjs.com/package/eslint-plugin-ntnyq)
[![LICENSE](https://img.shields.io/github/license/ntnyq/eslint-plugin-ntnyq.svg)](https://github.com/ntnyq/eslint-plugin-ntnyq/blob/main/LICENSE)

> Do not use this plugin unless you know exactly every rule may change.

> [!CAUTION]
> Do check the output to ensure it's doing its job correctly and only run this on code that has been checked into source control.

## Install

**npm**:

```shell
npm i eslint-plugin-ntnyq -D
```

**yarn**

```shell
yarn add eslint-plugin-ntnyq -D
```

**pnpm**

```shell
pnpm add eslint-plugin-ntnyq -D
```

## Usage

Config in `eslint.config.mjs`

```js
import { defineConfig } from 'eslint/config'
import pluginNtnyq from 'eslint-plugin-ntnyq'

export default defineConfig([
  // other configs
  {
    name: 'ntnyq',
    plugins: {
      ntnyq: pluginNtnyq,
    },
    rules: {
      'ntnyq/no-duplicate-exports': 'error',
    },
  },
])
```

## Rules

🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).\
💡 Manually fixable by [editor suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).

| Name                                                                                                            | Description                                                     | 🔧  | 💡  |
| :-------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------- | :-: | :-: |
| [no-duplicate-exports](https://eslint-plugin.ntnyq.com/rules/no-duplicate-exports.html)                         | Disallow duplicate exports statement                            | 🔧  |     |
| [no-member-accessibility](https://eslint-plugin.ntnyq.com/rules/no-member-accessibility.html)                   | Disallow usage of typescript member accessibility               | 🔧  |     |
| [no-only-tests](https://eslint-plugin.ntnyq.com/rules/no-only-tests.html)                                       | Disallow `.only` blocks in tests                                | 🔧  |     |
| [no-restricted-bindings](https://eslint-plugin.ntnyq.com/rules/no-restricted-bindings.html)                     | Disallow specified binding names in selected regions and scopes |     |     |
| [prefer-newline-after-file-header](https://eslint-plugin.ntnyq.com/rules/prefer-newline-after-file-header.html) | Require a newline after file header                             | 🔧  |     |
| [prefer-object-method-syntax](https://eslint-plugin.ntnyq.com/rules/prefer-object-method-syntax.html)           | Prefer method syntax for inline object functions                | 🔧  | 💡  |

## License

[MIT](./LICENSE) License © 2023-PRESENT [ntnyq](https://github.com/ntnyq)

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