# eslint-plugin-filename-consistency

> Eslint rule for consistent file and folder names

Latest version **1.1.0** (published 2025-03-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-filename-consistency
pnpm add eslint-plugin-filename-consistency
yarn add eslint-plugin-filename-consistency
bun add eslint-plugin-filename-consistency
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2025-03-10 |
| First published | 2022-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=14 |
| Dependencies | 0 |
| Unpacked size | 28.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | wmdanor |
| Maintainers | wmdanor |
| Keywords | eslint, eslintplugin, eslint-plugin, linter, lint, style, consistency, filenames, filename, folders, folder, path |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-filename-consistency
- Repository: https://github.com/wmdanor/eslint-plugin-filename-consistency
- Homepage: https://github.com/wmdanor/eslint-plugin-filename-consistency#readme
- Issues: https://github.com/wmdanor/eslint-plugin-filename-consistency/issues
- npm.io page: https://npm.io/package/eslint-plugin-filename-consistency

## 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

- 1.1.0 (latest) — 2025-03-10
- 1.0.2 — 2022-03-10
- 1.0.1 — 2022-03-08
- 1.0.0 — 2022-03-07

## README

# eslint-plugin-filename-consistency

## Enabling the plugin

Modify your `.eslintrc` file to load the plugin and enable the rules you want to use.

```json
{
  "plugins": [
    "filename-consistency"
  ],
  "rules": {
    "filename-consistency/match": "error"
  }
}
```

## Rules

### Consistent files and folders names (`match`)

A rule to enforce a certain file and folder naming convention.

The convention can be configured using the name of case (the default is `camel`).

Read more about this rule [here](docs/rules/match.md)

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