Skip to contents

Runs Stylelint on the Sass sources in the app/styles directory. Requires Node.js to be available on the system.

Usage

lint_sass(fix = FALSE)

Arguments

fix

Automatically fix problems.

Value

None. This function is called for side effects.

Examples

if (interactive()) {
  # Lint the Sass sources in the `app/styles` directory.
  lint_sass()
}