From dd3edca1363d1b05a961a0d95437d6473bbd4dc8 Mon Sep 17 00:00:00 2001 From: Johannes Ebner Date: Sat, 1 Jun 2024 21:35:11 +0200 Subject: [PATCH] chore: Add .gdlintrc --- .gdlintrc | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .gdlintrc diff --git a/.gdlintrc b/.gdlintrc new file mode 100644 index 0000000..ce5a2f6 --- /dev/null +++ b/.gdlintrc @@ -0,0 +1,48 @@ +class-definitions-order: + - tools + - classnames + - extends + - docstrings + - signals + - enums + - consts + - exports + - pubvars + - prvvars + - onreadypubvars + - onreadyprvvars + - staticvars + - others +class-load-variable-name: (([A-Z][a-z0-9]*)+|_?[a-z][a-z0-9]*(_[a-z0-9]+)*) +class-name: ([A-Z][a-z0-9]*)+ +class-variable-name: _?[a-z][a-z0-9]*(_[a-z0-9]+)* +comparison-with-itself: null +constant-name: _?[A-Z][A-Z0-9]*(_[A-Z0-9]+)* +disable: [] +duplicated-load: null +enum-element-name: "[A-Z][A-Z0-9]*(_[A-Z0-9]+)*" +enum-name: ([A-Z][a-z0-9]*)+ +excluded_directories: !!set + .git: null +expression-not-assigned: null +function-argument-name: _?[a-z][a-z0-9]*(_[a-z0-9]+)* +function-arguments-number: 10 +function-name: (_on_([A-Z][a-z0-9]*)+(_[a-z0-9]+)*|_?[a-z][a-z0-9]*(_[a-z0-9]+)*) +function-preload-variable-name: ([A-Z][a-z0-9]*)+ +function-variable-name: "[a-z][a-z0-9]*(_[a-z0-9]+)*" +load-constant-name: (([A-Z][a-z0-9]*)+|_?[A-Z][A-Z0-9]*(_[A-Z0-9]+)*) +loop-variable-name: _?[a-z][a-z0-9]*(_[a-z0-9]+)* +max-file-lines: 1000 +max-line-length: 140 +max-public-methods: 40 +max-returns: 6 +mixed-tabs-and-spaces: null +no-elif-return: null +no-else-return: null +private-method-call: null +signal-name: "[a-z][a-z0-9]*(_[a-z0-9]+)*" +sub-class-name: _?([A-Z][a-z0-9]*)+ +tab-characters: 1 +trailing-whitespace: null +unnecessary-pass: null +unused-argument: null