// plugins

Lax CSS Plugin

Formats CSS, SCSS, and Less files via lax-css, a formatter that only adjusts whitespace, indentation, and line breaks and never rewrites your styles.

Formats .css, .scss, and .less files. The indented Sass syntax (.sass) is not supported; use Malva for that.

Install and Setup

In your project's directory with a dprint.json file, run:

dprint add bartlomieju/lax-css

This will update your config file to have an entry for the plugin. Then optionally specify a "css" property to add configuration:

{
  "css": {
    // css config goes here
  },
  "plugins": [
    "npm:lax-css@x.x.x"
  ]
}

Configuration

See the plugin documentation.