Tooling configuration files

This commit is contained in:
Lewin Kelly 2024-06-22 23:30:17 +01:00
parent 24d8523a9f
commit f4aa8a923a
7 changed files with 9645 additions and 1 deletions

View File

@ -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.

5
aftman.toml Normal file
View File

@ -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"

29
dense.json5 Normal file
View File

@ -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"],
},
],
}

28
lines.json5 Normal file
View File

@ -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"],
},
],
}

9575
mercury.yml Normal file

File diff suppressed because it is too large Load Diff

1
selene.toml Normal file
View File

@ -0,0 +1 @@
std = "mercury"

6
stylua.toml Normal file
View File

@ -0,0 +1,6 @@
column_width = 80
line_endings = "Unix"
indent_type = "Tabs"
indent_width = 4
quote_style = "AutoPreferDouble"
call_parentheses = "None"