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
# gdstyle.toml: example configuration
#
# Place this file as `gdstyle.toml` or `.gdstyle.toml` in your project root.
# gdstyle will search for it starting from the current directory and walking
# up the directory tree.
# Maximum line length (default: 100)
= 100
# Use tabs for indentation (default: true).
# Set to false if your project uses spaces.
= true
# Maximum function body length in lines (default: 50)
= 50
# Maximum file length in lines (default: 1000)
= 1000
# Maximum number of function parameters (default: 5)
= 5
# File and directory patterns to exclude from linting.
# These are matched as glob patterns against file paths.
= [".godot", "addons"]
# Per-rule severity overrides.
# Values: "off" (disable), "warn" (warning), "error" (error)
#
# All rules are enabled with "warn" severity by default.
# Uncomment any line below to change its severity.
[]
# --- Naming ---
# "naming/class-name-pascal-case" = "warn"
# "naming/function-name-snake-case" = "warn"
# "naming/variable-name-snake-case" = "warn"
# "naming/constant-name-screaming-case" = "warn"
# "naming/signal-name-snake-case" = "warn"
# "naming/enum-name-pascal-case" = "warn"
# "naming/enum-member-screaming-case" = "warn"
# "naming/file-name-snake-case" = "warn"
# "naming/signal-past-tense" = "warn"
# "naming/private-underscore-prefix" = "warn"
# "naming/node-name-pascal-case" = "warn"
# --- Formatting ---
# "format/max-line-length" = "warn"
# "format/trailing-whitespace" = "warn"
# "format/trailing-newline" = "warn"
# "format/no-tabs-as-spaces" = "warn"
# "format/boolean-operators" = "warn"
# "format/double-quotes" = "warn"
# "format/comment-spacing" = "warn"
# "format/no-unnecessary-parens" = "warn"
# "format/number-literals" = "warn"
# "format/one-statement-per-line" = "warn"
# "format/blank-lines" = "warn"
# "format/trailing-comma" = "warn"
# "format/operator-spacing" = "warn"
# "format/float-literal-zeros" = "warn"
# "format/large-number-underscores" = "warn"
# "format/enum-one-per-line" = "warn"
# --- Ordering ---
# "order/class-member-order" = "warn"
# --- Quality ---
# "quality/max-function-length" = "warn"
# "quality/max-file-length" = "warn"
# "quality/max-parameters" = "warn"