29 lines
556 B
Plaintext
29 lines
556 B
Plaintext
{
|
|
bundle: {
|
|
require_mode: {
|
|
name: "path",
|
|
module_folder_name: "init",
|
|
},
|
|
},
|
|
rules: [
|
|
"convert_index_to_field",
|
|
"remove_comments",
|
|
"remove_spaces",
|
|
"remove_compound_assignment",
|
|
"remove_interpolated_string",
|
|
"group_local_assignment",
|
|
// "compute_expression",
|
|
"remove_unused_if_branch",
|
|
"remove_unused_while",
|
|
"remove_empty_do",
|
|
"remove_types",
|
|
// "remove_method_definition",
|
|
"remove_function_call_parens",
|
|
"filter_after_early_return",
|
|
{
|
|
rule: "rename_variables",
|
|
globals: ["$default", "$roblox"],
|
|
},
|
|
],
|
|
}
|