Skip to content

Commit f4aa8a9

Browse files
committed
Tooling configuration files
1 parent 24d8523 commit f4aa8a9

7 files changed

+9645
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
2013-related scripts, tools, and other goodies
44

5-
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.
5+
After installing Aftman and running `aftman install`, run `lune run compile.luau` to compile the corescripts and libraries from this directory to ./corescripts/processed.

aftman.toml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[tools]
2+
darklua = "seaofvoices/[email protected]"
3+
stylua = "JohnnyMorganz/[email protected]"
4+
selene = "kampfkarren/[email protected]"
5+
lune = "lune-org/[email protected]"

dense.json5

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
bundle: {
3+
require_mode: {
4+
name: "path",
5+
module_folder_name: "init",
6+
},
7+
},
8+
generator: "dense",
9+
rules: [
10+
"convert_index_to_field",
11+
"remove_comments",
12+
"remove_spaces",
13+
"remove_compound_assignment",
14+
"remove_interpolated_string",
15+
"group_local_assignment",
16+
// "compute_expression",
17+
"remove_unused_if_branch",
18+
"remove_unused_while",
19+
"remove_empty_do",
20+
"remove_types",
21+
// "remove_method_definition",
22+
"remove_function_call_parens",
23+
"filter_after_early_return",
24+
{
25+
rule: "rename_variables",
26+
globals: ["$default", "$roblox"],
27+
},
28+
],
29+
}

lines.json5

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
bundle: {
3+
require_mode: {
4+
name: "path",
5+
module_folder_name: "init",
6+
},
7+
},
8+
rules: [
9+
"convert_index_to_field",
10+
"remove_comments",
11+
"remove_spaces",
12+
"remove_compound_assignment",
13+
"remove_interpolated_string",
14+
"group_local_assignment",
15+
// "compute_expression",
16+
"remove_unused_if_branch",
17+
"remove_unused_while",
18+
"remove_empty_do",
19+
"remove_types",
20+
// "remove_method_definition",
21+
"remove_function_call_parens",
22+
"filter_after_early_return",
23+
{
24+
rule: "rename_variables",
25+
globals: ["$default", "$roblox"],
26+
},
27+
],
28+
}

0 commit comments

Comments
 (0)