ErrorsExternal services · rule
package.name_mismatch
Package's index names another package than its folder.
Area 11, External services; not declinable; the next step is usually the agent's.
A package's folder is its name in lower_snake_case and its version, so
its index gives the folder's name in UpperCamelCase:
/// Acme Couriers' booking API.package AcmeCourier.v1 { licence: Licence.mit jadpo: "1.0"}
error AcmeCourier.v1 is in the folder of AcmeCouriers.v1
--> shared/providers/acme_couriers/v1/package.jadpo:2:9
|2 | package AcmeCourier.v1 { | ^^^^^^^^^^^^^^ the folder says `AcmeCouriers.v1`
- reason
- A package's folder is its name in
lower_snake_caseand its version,acme_couriers/v1, so its name in code isAcmeCouriers.v1, the folder's inUpperCamelCase, and the index gives the same. - next
- Write
package AcmeCouriers.v1(agent) - rule
- package.
name_ mismatch - help
- https://jadpo.
dev/docs/errors/package. name_ mismatch
Markdown for agents: /docs/errors/package.name_mismatch.md.Built from Jadpo main at aee2e8f.