UNPKG

@accordproject/concerto-linter-default-ruleset

Version:

Default ruleset for the Accord Project Concerto Linter

10 lines (9 loc) 461 B
import type { IFunction } from '@stoplight/spectral-core'; /** * Finds and reports empty Concerto Declarations (i.e., declarations with no properties). * * @param {unknown} targetVal The AST node to check, expected to be a Concerto Declaration object. * @returns {IFunctionResult[]} An array of results indicating declarations that are empty. * @throws {Error} If the input is not a valid object. */ export declare const findEmptyDeclarations: IFunction;