forked from jason-h-35/godot-ci-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gdlintrc
40 lines (40 loc) · 1.38 KB
/
.gdlintrc
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
class-definitions-order:
- tools
- classnames
- extends
- signals
- enums
- consts
- exports
- pubvars
- prvvars
- onreadypubvars
- onreadyprvvars
- others
class-load-variable-name: (([A-Z][a-z0-9]*)+|_?[a-z][a-z0-9]*(_[a-z0-9]+)*) #PASCAL_CASE or SNAKE_CASE
class-name: ([A-Z][a-z0-9]*)+ #PASCAL_CASE
class-variable-name: _?[a-z][a-z0-9]*(_[a-z0-9]+)* #SNAKE_CASE
comparison-with-itself: null
constant-name: '[A-Z][A-Z0-9]*(_[A-Z0-9]+)*' #CONSTANT_CASE
disable: []
duplicated-load: null
enum-element-name: '[A-Z][A-Z0-9]*(_[A-Z0-9]+)*' #CONSTANT_CASE
enum-name: ([A-Z][a-z0-9]*)+ #PASCAL_CASE
expression-not-assigned: null
function-argument-name: _?[a-z][a-z0-9]*(_[a-z0-9]+)* #SNAKE_CASE
function-arguments-number: 10
function-load-variable-name: ([A-Z][a-z0-9]*)+ #PASCAL_CASE
function-name: (_on_([A-Z][a-z0-9]*)+(_[a-z0-9]+)*|_?[a-z][a-z0-9]*(_[a-z0-9]+)*) #PASCAL_CASE or SNAKE_CASE
function-variable-name: '[a-z][a-z0-9]*(_[a-z0-9]+)*' #SNAKE_CASE
load-constant-name: (([A-Z][a-z0-9]*)+|[A-Z][A-Z0-9]*(_[A-Z0-9]+)*) #PASCAL_CASE or CONSTANT_CASE
loop-variable-name: _?[a-z][a-z0-9]*(_[a-z0-9]+)* #SNAKE_CASE
max-file-lines: 1000
max-line-length: 100
max-public-methods: 20
mixed-tabs-and-spaces: null
private-method-call: null
signal-name: '[a-z][a-z0-9]*(_[a-z0-9]+)*' #SNAKE_CASE
sub-class-name: _?([A-Z][a-z0-9]*)+ #PASCAL_CASE
trailing-whitespace: null
unnecessary-pass: null
unused-argument: null