@accordproject/concerto-linter-default-ruleset
Version:
Default ruleset for the Accord Project Concerto Linter
20 lines (19 loc) • 655 B
TypeScript
/**
* Rule: Namespace Should Specify a Version
* ----------------------------------------
* Ensures that the namespace declaration in the model includes a version number.
* This rule enforces semantic versioning in namespaces, promoting clarity and compatibility management.
*/
declare const _default: {
description: string;
given: string;
message: string;
severity: number;
then: {
function: import("@stoplight/spectral-core").RulesetFunctionWithValidator<string, import("@stoplight/spectral-functions").PatternOptions>;
functionOptions: {
match: RegExp;
};
};
};
export default _default;