Function parse_directive
Source pub fn parse_directive(line: &str) -> Option<DirectiveOverrides>
Expand description
Parse an fprettier directive line and return option overrides
§Arguments
line - The line containing the directive
§Returns
Some(DirectiveOverrides) if the line is a valid directive
None if the line is not a directive