Package Exports
- eslint-plugin-prefer-snakecase
- eslint-plugin-prefer-snakecase/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-prefer-snakecase) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eslint-plugin-prefer-snakecase
Enforces snake_case naming convention for identifiers. Inspired by ptkdev/eslint-plugin-snakecasejs
Installation
Yarn
yarn add -D eslint-plugin-prefer-snakecaseUsage
Add prefer-snakecase to your list of plugins and extend the
recommended configuration.
{
"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