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