@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 733 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Ensure all exports appear after other statements.
*
* @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/exports-last.md)
*/
export type ExportsLastRuleConfig = RuleConfig<[]>;
/**
* Ensure all exports appear after other statements.
*
* @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/exports-last.md)
*/
export interface ExportsLastRule {
/**
* Ensure all exports appear after other statements.
*
* @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/exports-last.md)
*/
'import/exports-last': ExportsLastRuleConfig;
}