Skip to main content

source_extensions

Function source_extensions 

Source
pub fn source_extensions() -> &'static [&'static str]
Expand description

Every extension any registered language claims, lowercased, with the dot.

Derived from ALL_LANGUAGES so adding a language automatically widens the scan target set. Duplicates collapse: JavaScript and TypeScript both own .ts-adjacent extensions, so a hand-written list here would silently need to track them.