Skip to main content

RULES_VARIABLE

Constant RULES_VARIABLE 

Source
pub const RULES_VARIABLE: &str = "FORBIDDEN_STRINGS_RULES";
Expand description

What: The environment variable naming the runtime rules file. &str is a borrowed string compiled into the program. Why: It is the standalone scanner’s own variable, so one setting serves both.

In TS you’d write (pseudocode):

const RULES_VARIABLE = 'FORBIDDEN_STRINGS_RULES';