16 lines
535 B
TypeScript
16 lines
535 B
TypeScript
import type { Rule } from 'eslint';
|
|
import type { ESLintUtils } from '@typescript-eslint/utils';
|
|
|
|
import noEmptyObjectLiteral from './no-empty-object-literal';
|
|
import noImportDot from './no-import-dot';
|
|
import restrictTemplateExpressions from './restrict-template-expressions';
|
|
|
|
export const rules: Record<
|
|
string,
|
|
Rule.RuleModule | ESLintUtils.RuleModule<string, unknown[]>
|
|
> = {
|
|
'no-empty-object-literal': noEmptyObjectLiteral,
|
|
'no-import-dot': noImportDot,
|
|
'restrict-template-expressions': restrictTemplateExpressions,
|
|
};
|