@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 800 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow asynchronous actions in computed properties.
*
* @see [no-async-in-computed-properties](https://eslint.vuejs.org/rules/no-async-in-computed-properties.html)
*/
export type NoAsyncInComputedPropertiesRuleConfig = RuleConfig<[]>;
/**
* Disallow asynchronous actions in computed properties.
*
* @see [no-async-in-computed-properties](https://eslint.vuejs.org/rules/no-async-in-computed-properties.html)
*/
export interface NoAsyncInComputedPropertiesRule {
/**
* Disallow asynchronous actions in computed properties.
*
* @see [no-async-in-computed-properties](https://eslint.vuejs.org/rules/no-async-in-computed-properties.html)
*/
'vue/no-async-in-computed-properties': NoAsyncInComputedPropertiesRuleConfig;
}