VBC-058: overly-long-variable-name
warningCategory: clean-code
Analysis: Regex (line by line)
File types: .js, .ts, .tsx, .astro
Scope: source code only, ignoring anything inside strings and comments
Tags: clean-code
What it reports
Overly long variable name (>35 chars) detected at line {line}. This is getting too vibey.
Flagged
js
const theAbsolutelyEnormousConfigurationObject = {};Not flagged
js
const config = {};Pattern
regex
\b(let|const|var)\s+[a-zA-Z0-9_]{35,}\b