@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 642 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow empty document.
*
* @see [no-empty-document](https://ota-meshi.github.io/eslint-plugin-yml/rules/no-empty-document.html)
*/
export type NoEmptyDocumentRuleConfig = RuleConfig<[]>;
/**
* Disallow empty document.
*
* @see [no-empty-document](https://ota-meshi.github.io/eslint-plugin-yml/rules/no-empty-document.html)
*/
export interface NoEmptyDocumentRule {
/**
* Disallow empty document.
*
* @see [no-empty-document](https://ota-meshi.github.io/eslint-plugin-yml/rules/no-empty-document.html)
*/
'yml/no-empty-document': NoEmptyDocumentRuleConfig;
}