Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 899 Bytes

code-style.md

File metadata and controls

17 lines (9 loc) · 899 Bytes

Code Style

1.Tools-based Assistance

  • You need to use gdtoolkit and rustfmt to format the code.You can copy script/pre-commit to .git/hooks to do that automatically

2.Standards

  • Please adhere to the style guide proposed by the official Godot.

  • For GDScript, follow the GDScript Style Guide.

  • For Rust, ensure that basic checks with tools like clippy have been passed.

3.Notes

  • Please avoid hardcoding scene paths or other resources directly in the code at all costs. We require that it should be possible to refactor at any time without causing any issues. The robustness of the code is an important factor we consider.