JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 438
  • Score
    100M100P100Q93226F
  • License MIT

Enforce snake_case naming rule for identifiers

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

GitHub Workflow Status npm

Enforces snake_case naming convention for identifiers. Inspired by ptkdev/eslint-plugin-snakecasejs

Installation

Yarn

yarn add -D eslint-plugin-prefer-snakecase

Usage

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