getStylisticJsRules()
ts
function getStylisticJsRules(usageForTypescript?): Record<string, unknown>;Defined in: rules/stylistic-js.rules.ts:218
Get Stylistic (js) 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 Stylistic (js) rules
Since
1.0.0
Author
Simon Kovtyk