-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcat5dev.toml
More file actions
71 lines (48 loc) · 1.67 KB
/
cat5dev.toml
File metadata and controls
71 lines (48 loc) · 1.67 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Cat5Dev configuration file
[lint]
enabled = true
[lint.rules]
# Warn when Option Explicit is not declared
option_explicit = true
# Warn on usage of On Error Resume Next
on_error_resume_next = true
# Warn on GoTo usage (On Error GoTo is excluded)
goto = true
# Warn when a line exceeds the specified character count (0 = disabled)
max_line_length = 200
# Warn when a variable is declared with Dim but never used
unused_variables = true
# Warn when nesting depth exceeds the threshold (0 = disabled)
max_nesting_depth = 5
# Warn when a Sub/Function exceeds the line count threshold (0 = disabled)
max_function_lines = 100
# Report mismatched parentheses as an error
unmatched_parens = true
# Report missing End If / End Sub / End Function etc. as an error
unmatched_blocks = true
[formatter]
enabled = true
# Number of spaces per indentation level
indent_size = 4
# Capitalize VBA keywords (If, Dim, Sub, etc.)
capitalize_keywords = true
# Fix incorrect indentation
fix_indentation = true
# Remove trailing whitespace from each line
trim_trailing_space = true
# Ensure a space before line continuation character (_)
ensure_continuation_space = true
# Indent continuation lines by one level
indent_continuation_lines = true
# Maximum number of consecutive blank lines (0 = disabled)
max_blank_lines = 2
# Normalize spacing around operators (=, +, -, etc.)
normalize_operator_spacing = false
# Normalize spacing after commas
normalize_comma_spacing = false
# Ensure a space after comment character (')
normalize_comment_space = false
# Expand type suffix shorthand (% → Integer, $ → String, etc.)
expand_type_suffixes = false
# Automatically format on save
format_on_save = false