Skip to content

getEslintRules()

ts
function getEslintRules(usageForTypescript?): Record<string, unknown>;

Defined in: rules/eslint.rules.ts:241

Get ESLint rules based on filters

Parameters

ParameterTypeDescription
usageForTypescript?booleanWhether the rules will be used for linting TypeScript or not

Returns

Record<string, unknown>

Preset of ESLint rules

Since

1.0.0

Author

Simon Kovtyk