rule @team/rule-explicit-return-types

Explicit Return Types

Every function or method that is exported from a module, or is a public class method, must have an explicit return type annotation.…

Skill
@team
Domain
coding-style
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
75/179/262
$ aoe install @team/rule-explicit-return-types

Projection

Always in _index.xml · the agent never has to ask for this.

ExplicitReturnTypes [rule] v1.0.0

Every function or method that is exported from a module, or is a public class method, must have an explicit return type annotation. Type inference is welcome inside function bodies, but the contract at the boundary must be stated explicitly.

Source

aoe-engine/examples/coding-style/primes/compiled/@team/rule-explicit-return-types/atom.yaml