https://github.com/zignis/eslint-plugin-prefer-snakecase
🐍 Enforce snake_case naming for identifiers
https://github.com/zignis/eslint-plugin-prefer-snakecase
eslint eslint-plugin eslintplugin snake-case
Last synced: 4 months ago
JSON representation
🐍 Enforce snake_case naming for identifiers
- Host: GitHub
- URL: https://github.com/zignis/eslint-plugin-prefer-snakecase
- Owner: zignis
- License: mit
- Created: 2023-09-26T14:38:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T19:30:30.000Z (over 2 years ago)
- Last Synced: 2025-09-21T03:25:52.614Z (9 months ago)
- Topics: eslint, eslint-plugin, eslintplugin, snake-case
- Language: TypeScript
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-plugin-prefer-snakecase


Enforces `snake_case` naming convention for identifiers. Inspired by [ptkdev/eslint-plugin-snakecasejs](https://github.com/ptkdev/eslint-plugin-snakecasejs)
## Installation
### Yarn
```bash
yarn add -D eslint-plugin-prefer-snakecase
```
## Usage
Add `prefer-snakecase` to your list of plugins and extend the
recommended configuration.
```json
{
"extends": "plugin:prefer-snakecase/recommended",
"plugins": ["prefer-snakecase"]
}
```
## Rules
Available rules: https://github.com/zignis/eslint-plugin-prefer-snakecase/blob/main/docs/rules/prefer-snakecase.md