Skip to content

Commit

Permalink
Moved semicolonAfterLastProperty to format (#1091)
Browse files Browse the repository at this point in the history
Moved semicolonAfterLastProperty from level 1 to format.
  • Loading branch information
CrashCodes authored and jakubpawlowicz committed Nov 12, 2019
1 parent 3b2d0d2 commit d93e26b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ new CleanCSS({
beforeBlockBegins: false, // controls if a space comes before a block begins; e.g. `.block {`; defaults to `false`
beforeValue: false // controls if a space comes before a value; e.g. `width: 1rem`; defaults to `false`
},
wrapAt: false // controls maximum line length; defaults to `false`
wrapAt: false, // controls maximum line length; defaults to `false`
semicolonAfterLastProperty: false // controls removing trailing semicolons in rule; defaults to `false` - means remove
}
})
```
Expand Down Expand Up @@ -369,7 +370,6 @@ new CleanCSS({
tidyAtRules: true, // controls at-rules (e.g. `@charset`, `@import`) optimizing; defaults to `true`
tidyBlockScopes: true, // controls block scopes (e.g. `@media`) optimizing; defaults to `true`
tidySelectors: true, // controls selectors optimizing; defaults to `true`,
semicolonAfterLastProperty: false, // controls removing trailing semicolons in rule; defaults to `false` - means remove
transform: function () {} // defines a callback for fine-grained property optimization; defaults to no-op
}
}
Expand Down

0 comments on commit d93e26b

Please sign in to comment.