Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.38 KB

event-name-capwords.md

File metadata and controls

42 lines (33 loc) · 1.38 KB
warning layout title
This is a dynamically generated file. Do not edit manually.
default
event-name-capwords | Solhint

event-name-capwords

Recommended Badge Category Badge Default Severity Badge warn

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

Description

Event name must be in CapWords.

Options

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

Example Config

{
  "rules": {
    "event-name-capwords": "warn"
  }
}

Notes

  • Solhint allows this rule to automatically fix the code with --fix option
  • The FIX will only change first letter and remove underscores

Examples

This rule does not have examples.

Version

This rule was introduced in Solhint 5.0.4

Resources