Tracking Issue: Lints #58
Labels
a: parity
Area: Feature parity with Godot and other tools
c: gdtk-lint
Crate: gdtk-lint
issue: feature
Feature request
This issue tracks progress on implementing various rules, including those found in Godot itself as well as in senior gdtk. Feel free to point out missing rules by opening a new issue that mentions this one.
Rules
duplicated-load
- Duplicatedload()
/preload()
.standalone-expression
- Standalone expressions are a no-op.unnecessary-pass
- There are other expressions in this block.identifier-case
- This identifier is incorrectly cased.unused-item
- This item is unused.constant-expression-in-if
- Thisif/elif
's expression is constant.private-member-access
- This member is not part of its type's public API.class-definitions-order
- Statements in this file are unordered.complexity
- This item is too complex.trailing-whitespace
- Trailing whitespace found.feat(gdtk-lint):unnecessary-branch
- Thiselif/else
'sif
counterpart alwaysreturn
s.unnecessary-branch
#69untyped-code
- [HCS] Something that can have a static type does not.nested-getnode
- [HCS] Deeply nested paths inget_node
or$
(use%
instead).unreachable-code
- [INJ] self-explanatory.dynamic-scenes
- [IDX] Detected a dynamically-constructed scene. Creating scenes on-the-fly seriously harms the performance of your project; consider refactoring your project's structure to minimally rely on dynamic scene instantiations.invalid_identifier
-_
is not a valid identifier.The text was updated successfully, but these errors were encountered: