@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
36 lines (31 loc) • 1.03 kB
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Option.
*/
export type MustacheInterpolationSpacingOption = 'always' | 'never';
/**
* Options.
*/
export type MustacheInterpolationSpacingOptions = [
MustacheInterpolationSpacingOption?,
];
/**
* Enforce unified spacing in mustache interpolations.
*
* @see [mustache-interpolation-spacing](https://eslint.vuejs.org/rules/mustache-interpolation-spacing.html)
*/
export type MustacheInterpolationSpacingRuleConfig =
RuleConfig<MustacheInterpolationSpacingOptions>;
/**
* Enforce unified spacing in mustache interpolations.
*
* @see [mustache-interpolation-spacing](https://eslint.vuejs.org/rules/mustache-interpolation-spacing.html)
*/
export interface MustacheInterpolationSpacingRule {
/**
* Enforce unified spacing in mustache interpolations.
*
* @see [mustache-interpolation-spacing](https://eslint.vuejs.org/rules/mustache-interpolation-spacing.html)
*/
'vue/mustache-interpolation-spacing': MustacheInterpolationSpacingRuleConfig;
}