chore(linter-specific): 🔧 Update linter configuration to enforce gofmt and gocritic rules in gdlintrc

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-04-08 22:24:05 -07:00
parent 887b5dbaa9
commit b431c53341

View file

@ -37,12 +37,7 @@ sub-class-name: _?([A-Z][a-z0-9]*)+
# Limits (aligned with Lilith ecosystem standards)
max-line-length: 100
max-file-lines: 500
# GDExtension wrapper classes and autoload singletons legitimately expose wide APIs.
# DataLoader is the game data bus — 99 typed accessors, all intentional.
# city.gd is a GdCity GDExtension bridge — 48 bridge methods.
# game_state/ecology_db are wide singletons by design.
# Game-logic classes are expected to stay well under 30.
max-public-methods: 100
max-public-methods: 20
max-returns: 6
function-arguments-number: 10
@ -52,15 +47,15 @@ tab-characters: 1
# Enabled checks
# trailing-whitespace, unnecessary-pass, mixed-tabs-and-spaces are active (not null)
# Disabled checks (set per-rule to null = no custom pattern, rule still active)
# Disabled checks
comparison-with-itself: null
duplicated-load: null
expression-not-assigned: null
no-elif-return: null
no-else-return: null
unused-argument: null
# Exclusions
disable:
- no-else-return
- unused-argument
disable: []
excluded_directories: !!set
.git: null