rule @team/rule-no-default-export

No Default Export

All module exports must be named exports. Default exports are prohibited. Named exports give the import site a stable, searchable name; default exports allow importers to invent arbitrary names, making global renames, ID…

Skill
@team
Domain
coding-style
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
77/143/213
$ aoe install @team/rule-no-default-export

Projection

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

NoDefaultExport [rule] v1.0.0

All module exports must be named exports. Default exports are prohibited. Named exports give the import site a stable, searchable name; default exports allow importers to invent arbitrary names, making global renames, IDE references, and grep unreliable.

Source

aoe-engine/examples/coding-style/primes/compiled/@team/rule-no-default-export/atom.yaml