-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathselene.toml
34 lines (32 loc) · 927 Bytes
/
selene.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
std = "roblox"
[rules]
almost_swapped = "deny"
constant_table_comparison = "deny"
deprecated = "deny"
divide_by_zero = "deny"
duplicate_keys = "deny"
empty_if = "allow"
global_usage = "allow"
high_cyclomatic_complexity = "allow"
if_same_then_else = "deny"
ifs_same_cond = "deny"
incorrect_standard_library_use = "allow"
manual_table_clone = "deny"
mismatched_arg_count = "deny"
mixed_table = "deny"
multiple_statements = "allow"
must_use = "allow"
parenthese_conditions = "deny"
roblox_incorrect_color3_new_bounds = "deny"
roblox_incorrect_roact_usage = "deny"
roblox_suspicious_udim2_new = "deny"
shadowing = "deny"
suspicious_reverse_loop = "deny"
type_check_inside_call = "deny"
unbalanced_assignments = "deny"
undefined_variable = "deny"
unscoped_variables = "deny"
unused_variable = "warn"
[config]
shadowing = { ignore_pattern = "^self$|^_" }
unused_variable = { ignore_pattern = "^self$|^_", allow_unused_self = true }