Skip to main content

ecmascript_level

Function ecmascript_level 

Source
pub fn ecmascript_level(name: &str) -> Level
Expand description

Build the single “files” Level that both JS and TS plugins expose.

name is the level name (pass "files" — kept as a parameter so tests can verify the returned value without hard-coding a string twice).