lint_sass: Lint Sass

View source: R/tools.R

lint_sassR Documentation

Lint Sass

Description

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()
}

Appsilon/rhino documentation built on Sept. 27, 2024, 7:01 p.m.