Permalink
Browse files

Update CSScomb version to 3.0.0

1 parent 370d76c commit 43fbb12714f0ebd8c5f87c0f5bae3811469805d5 @tonyganch tonyganch committed Jul 21, 2014
Showing 392 changed files with 25,554 additions and 5,282 deletions.
View
@@ -17,10 +17,10 @@ process.stdin.on('end', function () {
if (configPath) {
config = require(configPath);
} else {
- config = comb.getConfig('csscomb');
+ config = Comb.getConfig('csscomb');
}
- combed = comb.configure(config).processString(str, syntax);
+ combed = comb.configure(config).processString(str, {syntax: syntax});
process.stdout.write(combed);
});
@@ -1,5 +1,55 @@
# Changelog
+## 3.0.0 - 2014-07-19
+**Thanks to
+[@cvrebert](https://github.com/cvrebert),
+[@filtercake](https://github.com/filtercake),
+[@lefoy](https://github.com/lefoy),
+[@L0stSoul](https://github.com/L0stSoul),
+[@kizu](https://github.com/kizu),
+[@schneyra](https://github.com/schneyra),
+[@thejameskyle](https://github.com/thejameskyle),
+[@vecmezoni](https://github.com/vecmezoni)**
+
+New:
+
+- Sass support
+- Leftovers (#160)
+- Use [CSScomb Core](https://github/csscomb/core)
+- Plugins API (with `.use()` method)
+- `sort-order-fallback` (alphabetical sort order)
+- `space-before-colon`
+- `space-after-colon`
+- `space-before-combinator`
+- `space-after-combinator`
+- `space-before-selector-delimiter`
+- `space-after-selector-delimiter`
+- `space-before-opening-brace`
+- `space-after-opening-brace`
+- `space-before-closing-brace`
+- `space-after-declaration`
+- `tab-size`
+
+Removed:
+
+- `colon-space`
+- `combinator-space`
+- `rule-indent`
+- `stick-brace`
+
+Changed:
+
+- Divided `process` and `detect` methods
+- Made `getConfig` and `detect` static methods
+- Removed "best guess" logic from options
+- Excluded `bower_components/**` from processing
+- Updated badges at README page
+- Update Gonzales PE to v3.0
+- Various fixes
+
+## 2.0.5 - 2014-06-09
+- Updated dependencies (#229)
+
## 2.0.4 - 2014-01-16
- Fixed relative path to config (#164)
@@ -1,5 +1,8 @@
# CSScomb [![CSSComb](logo.png)](http://csscomb.com/)
-[![Build Status](https://secure.travis-ci.org/csscomb/csscomb.js.png?branch=master)](http://travis-ci.org/csscomb/csscomb.js)
+[![Build Status](https://travis-ci.org/csscomb/csscomb.js.svg?branch=master)](http://travis-ci.org/csscomb/csscomb.js)
+[![NPM version](https://badge.fury.io/js/csscomb.svg)](http://badge.fury.io/js/csscomb)
+[![Dependency Status](https://david-dm.org/csscomb/csscomb.js.svg)](https://david-dm.org/csscomb/csscomb.js)
+[![devDependency Status](https://david-dm.org/csscomb/csscomb.js/dev-status.svg)](https://david-dm.org/csscomb/csscomb.js#info=devDependencies)
CSScomb is a coding style formatter for CSS.
You can easily write your own [configuration](doc/configuration.md) to make
@@ -75,12 +78,18 @@ Please take a moment to review the [guidelines for contributing](CONTRIBUTE.md).
Thanks for assistance and contributions:
[@miripiruni](https://github.com/miripiruni),
-[@puzankov](https://github.com/puzankov),
-[@L0stSoul](https://github.com/L0stSoul),
+[@anton-rudeshko](https://github.com/anton-rudeshko),
+[@cvrebert](https://github.com/cvrebert),
+[@filtercake](https://github.com/filtercake),
[@ignovak](https://github.com/ignovak),
[@kizu](https://github.com/kizu),
-[@anton-rudeshko](https://github.com/anton-rudeshko),
-[@mishaberezin](https://github.com/mishaberezin)
+[@lefoy](https://github.com/lefoy),
+[@L0stSoul](https://github.com/L0stSoul),
+[@mishaberezin](https://github.com/mishaberezin),
+[@puzankov](https://github.com/puzankov),
+[@schneyra](https://github.com/schneyra),
+[@thejameskyle](https://github.com/thejameskyle),
+[@vecmezoni](https://github.com/vecmezoni)
## License
@@ -1,21 +1,27 @@
{
"exclude": [
".git/**",
- "node_modules/**"
+ "node_modules/**",
+ "bower_components/**"
],
"always-semicolon": true,
"block-indent": " ",
- "colon-space": ["", " "],
"color-case": "lower",
"color-shorthand": true,
- "combinator-space": [" ", " "],
"element-case": "lower",
"eof-newline": true,
"leading-zero": false,
"quotes": "single",
"remove-empty-rulesets": true,
- "rule-indent": " ",
- "stick-brace": "\n",
+ "space-after-colon": " ",
+ "space-after-combinator": " ",
+ "space-after-opening-brace": "\n",
+ "space-after-selector-delimiter": "\n",
+ "space-before-closing-brace": "\n",
+ "space-before-colon": "",
+ "space-before-combinator": " ",
+ "space-before-opening-brace": "\n",
+ "space-before-selector-delimiter": "",
"strip-spaces": true,
"unitless-zero": true,
"vendor-prefix-align": true,
@@ -1,7 +1,8 @@
{
"exclude": [
".git/**",
- "node_modules/**"
+ "node_modules/**",
+ "bower_components/**"
],
"sort-order": [
[
@@ -1,7 +1,8 @@
{
"exclude": [
".git/**",
- "node_modules/**"
+ "node_modules/**",
+ "bower_components/**"
],
"sort-order": [ [
"position",
@@ -39,17 +39,13 @@ Here is an example:
"verbose": true,
"always-semicolon": true,
- "block-indent": " ",
- "colon-space": ["", " "],
"color-case": "lower",
"color-shorthand": true,
"element-case": "lower",
"eof-newline": true,
"leading-zero": false,
"quotes": "single",
"remove-empty-rulesets": true,
- "rule-indent": " ",
- "stick-brace": "\n",
"strip-spaces": true,
"unitless-zero": true,
"vendor-prefix-align": true
@@ -111,13 +107,7 @@ Generated config wiil then look this way:
"color-case": "lower",
"color-shorthand": true,
"strip-spaces": true,
- "eof-newline": true,
- "stick-brace": "\n",
- "colon-space": [
- "",
- " "
- ],
- "rule-indent": " "
+ "eof-newline": true
}
```
Oops, something went wrong.

0 comments on commit 43fbb12

Please sign in to comment.