UNPKG

dclint

Version:

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

14 lines (13 loc) 505 B
import type { LintContext } from '../linter/linter.types'; import type { Rule, RuleCategory, RuleSeverity, RuleType, RuleMeta, RuleMessage } from './rules.types'; export default 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[]; }