Skip to content

greenpixels/godot-arch

Repository files navigation

GodotArch

🚧👷‍♂️ Please Note: GodotArch is still in early development. Please report any bugs and issues you find.

An extremely fast and configurable project structure linter for your Godot projects. GodotArch enforces consistent file organization and naming conventions, making them more maintainable and easier to navigate.

It can check scenes, scripts, nodes, assets, and more. It is also extremely configurable via its godot-arch.config.yaml.

How To Use

In order to use GodotArch you need to have its godot-arch executable and a godot-arch.config.yaml configuration file at your project root.

1. Requirements

  • A Godot project developed with Godot 4.4 or higher
    • (Earlier versions may work, but are untested.)

2. Installation & Setup

  • Download the latest release for your platform
  • Unpack the contents into your project-root (godot-arch.config.yaml and godot-arch)
  • (optional) customize the configuration in godot-arch.config.yaml

3. Usage

  • Run ./godot-arch (or ./godot-arch.exe for Windows) either locally in your terminal or in your CI via e.g. "GitHub-Actions"

Documentation

Linting Rules

GodotArch comes with with a default configuration file. All rules can be configured via includePatterns and ignorePatterns in your godot-arch.config.yaml. It's recommended to start with the default configuration and adjust it based on your project's specific needs.

Available Rules

About

CLI tool to lint and enforce structure, naming, and organization rules in Godot projects

Topics

Resources

License

Stars

Watchers

Forks