getEslintRules()
ts
function getEslintRules(usageForTypescript?): Record<string, unknown>;Defined in: rules/eslint.rules.ts:241
Get ESLint rules based on filters
Parameters
| Parameter | Type | Description |
|---|---|---|
usageForTypescript? | boolean | Whether 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