dclint
Version:
A command-line tool for validating and enforcing best practices in Docker Compose files.
16 lines (15 loc) • 562 B
TypeScript
import type { LintContext } from '../linter/linter.types';
import type { Rule, RuleCategory, RuleSeverity, RuleType, RuleMeta, RuleMessage } from './rules.types';
export default class NoQuotesInVolumesRule implements Rule {
static readonly name = "no-quotes-in-volumes";
get name(): string;
type: RuleType;
category: RuleCategory;
severity: RuleSeverity;
meta: RuleMeta;
fixable: boolean;
getMessage(): string;
private static extractVolumes;
check(context: LintContext): RuleMessage[];
fix(content: string): string;
}