Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.33 KB

const-name-snakecase.md

File metadata and controls

39 lines (30 loc) · 1.33 KB
warning layout title
This is a dynamically generated file. Do not edit manually.
default
const-name-snakecase | Solhint

const-name-snakecase

Recommended Badge Category Badge Default Severity Badge warn

The {"extends": "solhint:recommended"} property in a configuration file enables this rule.

Description

Constant name must be in capitalized SNAKE_CASE. (Does not check IMMUTABLES, use immutable-vars-naming)

Options

This rule accepts a string option of rule severity. Must be one of "error", "warn", "off". Defaults to warn.

Example Config

{
  "rules": {
    "const-name-snakecase": "warn"
  }
}

Examples

This rule does not have examples.

Version

This rule was introduced in Solhint 2.0.0-alpha.0

Resources