class RemoveCommentsTransformation

Transformation that removes all comment lines from the rules. Comments are lines starting with ! or #

Properties

readonly
name: string

Human-readable name of the transformation

The transformation type identifier

Methods

executeSync(rules: string[]): string[]

Removes all comment lines from the rules.

Usage

import { RemoveCommentsTransformation } from ".";