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

rhino documentation built on Sept. 20, 2024, 5:10 p.m.

Related to lint_sass in rhino...