Tooling configuration files
This commit is contained in:
parent
24d8523a9f
commit
f4aa8a923a
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
2013-related scripts, tools, and other goodies
|
||||
|
||||
After installing Aftman and running `aftman install`, run `lune run ./corescripts/compile.luau` to compile the corescripts and libraries from this directory to ./corescripts/processed.
|
||||
After installing Aftman and running `aftman install`, run `lune run compile.luau` to compile the corescripts and libraries from this directory to ./corescripts/processed.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
[tools]
|
||||
darklua = "seaofvoices/darklua@0.13.1"
|
||||
stylua = "JohnnyMorganz/StyLua@0.20.0"
|
||||
selene = "kampfkarren/selene@0.27.1"
|
||||
lune = "lune-org/lune@0.8.5"
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
bundle: {
|
||||
require_mode: {
|
||||
name: "path",
|
||||
module_folder_name: "init",
|
||||
},
|
||||
},
|
||||
generator: "dense",
|
||||
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"],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
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"],
|
||||
},
|
||||
],
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1 @@
|
|||
std = "mercury"
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
column_width = 80
|
||||
line_endings = "Unix"
|
||||
indent_type = "Tabs"
|
||||
indent_width = 4
|
||||
quote_style = "AutoPreferDouble"
|
||||
call_parentheses = "None"
|
||||
Loading…
Reference in New Issue