@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 951 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* The output of functions that don't return anything should not be used.
*
* @see [no-use-of-empty-return-value](https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-use-of-empty-return-value.md)
*/
export type NoUseOfEmptyReturnValueRuleConfig = RuleConfig<[]>;
/**
* The output of functions that don't return anything should not be used.
*
* @see [no-use-of-empty-return-value](https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-use-of-empty-return-value.md)
*/
export interface NoUseOfEmptyReturnValueRule {
/**
* The output of functions that don't return anything should not be used.
*
* @see [no-use-of-empty-return-value](https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-use-of-empty-return-value.md)
*/
'sonarjs/no-use-of-empty-return-value': NoUseOfEmptyReturnValueRuleConfig;
}