Rule: variable-name (original) (raw)

Checks variable names for various errors.

Config

Several arguments may be optionally provided:

Config examples

"variable-name": { "options": [ "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case" ] }

Schema

{ "type": "array", "items": { "type": "string", "enum": [ "check-format", "allow-leading-underscore", "allow-pascal-case", "allow-snake-case", "allow-trailing-underscore", "require-const-for-all-caps", "ban-keywords" ] }, "minLength": 0, "maxLength": 6 }