Visitar URL original
Lax CSS Plugin - dprint - Code Formatter
// plugins

Lax CSS

CSS, SCSS, and Less formatter that never reinterprets your styles.

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@0.3.0"
  ]
}

Configuration

See the plugin documentation.

All plugins

Official Plugins

Community Plugins

Wrapper Plugins

Everything Else