UNPKG

dclint

Version:

A command-line tool for validating and enforcing best practices in Docker Compose files.

15 lines (14 loc) 538 B
import type { Rule, RuleCategory, RuleMessage, RuleMeta, RuleSeverity, RuleType } from './rules.types'; import type { LintContext } from '../linter/linter.types'; declare class RequireProjectNameFieldRule implements Rule { static readonly name = "require-project-name-field"; get name(): string; type: RuleType; category: RuleCategory; severity: RuleSeverity; meta: RuleMeta; fixable: boolean; getMessage(): string; check(context: LintContext): RuleMessage[]; } export { RequireProjectNameFieldRule };