@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 614 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow sparse arrays in `<template>`.
*
* @see [no-sparse-arrays](https://eslint.vuejs.org/rules/no-sparse-arrays.html)
*/
export type NoSparseArraysRuleConfig = RuleConfig<[]>;
/**
* Disallow sparse arrays in `<template>`.
*
* @see [no-sparse-arrays](https://eslint.vuejs.org/rules/no-sparse-arrays.html)
*/
export interface NoSparseArraysRule {
/**
* Disallow sparse arrays in `<template>`.
*
* @see [no-sparse-arrays](https://eslint.vuejs.org/rules/no-sparse-arrays.html)
*/
'vue/no-sparse-arrays': NoSparseArraysRuleConfig;
}