Skip to content

getStylisticJsRules()

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

Defined in: rules/stylistic-js.rules.ts:218

Get Stylistic (js) 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 (js) rules

Since

1.0.0

Author

Simon Kovtyk