Implement --extend-fixable option (#4297)

This commit is contained in:
Charlie Marsh 2023-05-18 22:20:19 -04:00 committed by GitHub
parent 2e2ba2cb16
commit 15cb21a6f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 114 additions and 12 deletions

View file

@ -96,8 +96,10 @@ pub fn defaultSettings() -> Result<JsValue, JsValue> {
allowed_confusables: Some(Vec::default()),
builtins: Some(Vec::default()),
dummy_variable_rgx: Some(defaults::DUMMY_VARIABLE_RGX.as_str().to_string()),
extend_fixable: Some(Vec::default()),
extend_ignore: Some(Vec::default()),
extend_select: Some(Vec::default()),
extend_unfixable: Some(Vec::default()),
external: Some(Vec::default()),
ignore: Some(Vec::default()),
line_length: Some(defaults::LINE_LENGTH),