coreRulesfunctionno test imports itfunction coreRules(vocabularies: readonly Vocabulary[]): readonly LintRule[]The core rules: they depend on the vocabularies given only for the kinds they know.
Lint (commons data 0003-governance FR-009): the findings of a domain against the vocabularies a project uses, as data. The core rules come first: an element with no definition, and an annotation of a kind that no vocabulary given has. Then each vocabulary's rules, in the order given.
coreRulesfunctionno test imports itfunction coreRules(vocabularies: readonly Vocabulary[]): readonly LintRule[]The core rules: they depend on the vocabularies given only for the kinds they know.
lintfunctionfunction lint(d: Domain, vocabularies?: readonly Vocabulary[]): readonly Finding[]The findings of a domain.
| Parameter | What it is |
|---|---|
d | the domain |
vocabularies | the vocabularies the project uses, in order |
Returns: the findings of the core rules, then of each vocabulary's, in the order of the rules