@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 778 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow unused object properties.
*
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-unused-properties.md)
*/
export type NoUnusedPropertiesRuleConfig = RuleConfig<[]>;
/**
* Disallow unused object properties.
*
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-unused-properties.md)
*/
export interface NoUnusedPropertiesRule {
/**
* Disallow unused object properties.
*
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-unused-properties.md)
*/
'unicorn/no-unused-properties': NoUnusedPropertiesRuleConfig;
}