Skip to content

getStylisticAdditionalRules()

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

Defined in: rules/stylistic-additional.rules.ts:39

Get Stylistic rules based on filters

Parameters

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

Returns

Record<string, unknown>

Preset of Stylistic rules

Since

1.0.0

Author

Simon Kovtyk