mirror of https://github.com/astral-sh/ruff
Fix wasm builds
This commit is contained in:
parent
2cb59b0f45
commit
8a26c8b4e0
|
|
@ -86,6 +86,7 @@ pub fn defaultSettings() -> Result<JsValue, JsValue> {
|
||||||
Ok(serde_wasm_bindgen::to_value(&Options {
|
Ok(serde_wasm_bindgen::to_value(&Options {
|
||||||
// Propagate defaults.
|
// Propagate defaults.
|
||||||
allowed_confusables: Some(Vec::default()),
|
allowed_confusables: Some(Vec::default()),
|
||||||
|
builtins: Some(Vec::default()),
|
||||||
dummy_variable_rgx: Some("^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$".to_string()),
|
dummy_variable_rgx: Some("^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$".to_string()),
|
||||||
extend_ignore: Some(Vec::default()),
|
extend_ignore: Some(Vec::default()),
|
||||||
extend_select: Some(Vec::default()),
|
extend_select: Some(Vec::default()),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue