@novadynamics/eslint-snakecase
v1.0.2
Published
eslint plugin for enforcing snake_case naming convention for local identifiers
Downloads
196
Readme
ESLint Snakecase
A custom ESLint plugin to enforce snake_case naming conventions for variable and function names within a JavaScript codebase. This plugin provides auto-fixing capabilities and is configured to ignore imported functions and class names.
Features
- Enforces snake_case naming for local identifiers such as variables, functions, and parameters.
- Ignores external imports and class names (e.g., class MyClass remains unchanged).
- Auto-fixes declarations and references to ensure consistent naming.
Installation
npm install eslint-snakecase --save-dev