method RemoveCommentsTransformation.prototype.executeSync
RemoveCommentsTransformation.prototype.executeSync(rules: string[]): string[]

Removes all comment lines from the rules.

Parameters

rules: string[]
  • Array of rules to process

Return Type

string[]

Array with comments removed

Usage

import { RemoveCommentsTransformation } from ".";