pub fn format_for(raw: &str, filename_or_ext: &str) -> wasm_bindgen::JsValue {
    let result = autocorrect::format_for(raw, filename_or_ext);
    #[allow(deprecated)]
    wasm_bindgen::JsValue::from_serde(&result).unwrap()
}
Lint content with filetype, and return a
autocorrect-wasm/src/lib.rs