Linting rules
E014: acton-import-in-contract
Forbids importing files from `.acton` in contract dependency trees.
Metadata
Code:E014Rule:acton-import-in-contractStatus: Stable sincev0.0.1Quick fix: not available
What it does
Forbids importing files from .acton in contract dependency trees.
Why is this bad?
Contract sources should not depend on Acton internals from .acton.
Such imports are environment-dependent and make contracts less portable.
Example
import "@acton/tlb/maybe";Use instead:
import "@stdlib/gas-payments";Last updated on