@secretlint/types
Version:
A typing package for @secretlint
62 lines (61 loc) • 2.02 kB
text/typescript
// Core Interface
export type {
SecretLintCoreIgnoreDescriptor,
SecretLintCoreReportDescriptor,
SecretLintCoreIgnoreMessage,
SecretLintCoreResult,
SecretLintCoreResultMessage,
SecretLintCoreConfig,
SecretLintRuleModule,
// union
SecretLintUnionRuleCreator,
SecretLintCoreConfigUnionRule,
SecretLintCoreConfigRule,
SecretLintCoreConfigRulePreset,
} from "./SecretLintCore.js";
export type { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions.js";
export type { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel.js";
// Rule interface
export type {
SecretLintRuleIgnoreDescriptor,
SecretLintRuleCreator,
SecretLintRuleContext,
SecretLintRuleCreatorOptions,
SecretLintRuleReportDescriptor,
SecretLintRuleReportHandler,
SecretLintRuleContentType,
} from "./SecretLintRule.js";
// Rule Preset
export type {
SecretLintRulePresetContext,
SecretLintRulePresetCreator,
SecretLintRulePresetCreatorOptions,
} from "./SecretLintRulePreset.js";
// Source
export type {
SecretLintRawSource,
SecretLintSourceIdentifierNode,
SecretLintSourceNodeLocation,
SecretLintSourceNodePosition,
SecretLintSourceNodeRange,
SecretLintSourceValueNode,
} from "./SecretLintSource.js";
export type {
SecretLintCreateRuleMessageTranslator,
SecretLintRuleMessageTranslate,
SecretLintRuleLocaleTag,
SecretLintRuleLocalizeMessageHandler,
SecretLintRuleLocalizeMessageMulti,
SecretLintRuleLocalizeMessages,
SecretLintRuleMessageTranslateResult,
SecretLintRuleLocalizeMessageProps,
} from "./SecretLintRuleTranslator.js";
export type { SecretLintSourceCode } from "./SecretLintSourceCode.js";
// Config
export type {
SecretLintConfigDescriptor,
SecretLintConfigDescriptorRule,
SecretLintConfigDescriptorRulePreset,
} from "./SecretLintConfigDescriptor.js";
// Formatter
export type { SecretLintFormatterOptions, SecretLintFormatter } from "./SecretLintFormatter.js";