VBC-197: hardcoded-node-version
warningCategory: ux-dx
Analysis: Regex (line by line)
File types: .sh, .json
Scope: source code only, ignoring anything inside strings and comments
Tags: dx portability
What it reports
Hardcoded system version check detected at line {line}. Use an .nvmrc or engine field in package.json instead.
Flagged
sh
node -vNot flagged
sh
node build.jsPattern
regex
node\s+-v|node\s+--version