Skip to content

Commit bfd9783

Browse files
committed
Cut version 0.30.0
Also reorganized the changelog to differentiate new features, changes, and bug fixes for both 0.30.0 and 0.29.0 (as they are large lists). Change-Id: Ibaaa26b289cd26142a0a56d3f6b0e87438c5e675 Reviewed-on: http://gerrit.causes.com/44341 Tested-by: jenkins <[email protected]> Reviewed-by: Shane da Silva <[email protected]>
1 parent 25ec426 commit bfd9783

File tree

2 files changed

+40
-23
lines changed

2 files changed

+40
-23
lines changed

CHANGELOG.md

+39-22
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
# SCSS-Lint Changelog
22

3-
## master (unreleased)
3+
## 0.30.0
4+
5+
### New Features
46

5-
* Fix bug in `SpaceAfterPropertyName`/`TrailingSemicolon` linters where lint
6-
would be reported for oneline properties following a selector with
7-
interpolation
8-
* Fix bug in `SpaceAfterPropertyColon`/`SpaceAfterPropertyName`/`TrailingSemicolon`
9-
linters where lint would be reported for one-line properties following a
10-
selector with interpolation
117
* Add `VendorPrefixes` linter which ensures only whitelisted vendor-prefixed
128
properties are used
139
* Add `scss_files` configuration option allowing a default set of files to be
@@ -21,44 +17,65 @@
2117
* Add support to `SelectorFormat` for specifying different conventions for
2218
different types of selectors via the `<type>_convention` options
2319
* Add `@import` check to `TrailingSemicolon`
24-
* Improve message reported by `PropertySortOrder`
25-
* Enforce UTF-8 encoding by default
2620
* Add support for differentiating `@include`s with actual content versus
2721
no-content `@include`s in `DeclarationOrder`
2822
* Add support for checking the ordering of content within `@include`s
2923
* Add `ImportPath` linter which ensures paths for `@import` directives follow
3024
a certain format
3125
* Add `QualifyingElement` linter which checks for unnecessarily-qualified
3226
element selectors
33-
* Change `BEM` convention of `SelectorFormat` `convention` option to
34-
`hyphenated_BEM`, and introduce `BEM` format as specified in
35-
https://bem.info/method/definitions/
36-
* Fix `PropertySpelling` linter to check the names of nested properties
3727
* Add `--out` flag which allows the output of the last formatter specified via
3828
the `--format` flag to be redirected to a file
3929
* Add `--require` flag allowing arbitrary Ruby modules to be loaded (facilitating
4030
custom reporters)
31+
32+
### Changes
33+
34+
* Improve message reported by `PropertySortOrder` to specify the expected sort
35+
order
36+
* Enforce UTF-8 encoding by default
37+
* Change `BEM` convention of `SelectorFormat` `convention` option to
38+
`hyphenated_BEM`, and introduce `BEM` format as specified in
39+
https://bem.info/method/definitions/
4140
* Prefix all syntax error messages with "Syntax Error:"
4241

42+
### Bug Fixes
43+
44+
* Fix bug in `SpaceAfterPropertyName`/`TrailingSemicolon` linters where lint
45+
would be reported for oneline properties following a selector with
46+
interpolation
47+
* Fix bug in `SpaceAfterPropertyColon`/`SpaceAfterPropertyName`/`TrailingSemicolon`
48+
linters where lint would be reported for one-line properties following a
49+
selector with interpolation
50+
* Fix `PropertySpelling` linter to check the names of nested properties
51+
4352
## 0.29.0
4453

54+
### New Features
55+
56+
* Add `TrailingZero` linter which checks for unnecessary zeros following a
57+
decimal point
58+
* Add `SelectorFormat` linter which checks that the names of ids, classes, etc.
59+
in selectors match a desired convention
60+
* Add JSON formatter
61+
62+
### Changes
63+
4564
* Update list of known properties (used by `PropertySpelling` lint)
46-
* Fix bug where SassScript selectors referring to the current selector would
47-
result in a crash
4865
* Enhance `TrailingSemicolon` to check for more than one semicolon at the end
4966
of a statement
50-
* Add `TrailingZero` linter which checks for unnecessary zeros following a
51-
decimal point
67+
* Remove `CapitalizationInSelector`, which has been superseded by the more
68+
powerful `SelectorFormat` linter
69+
70+
### Bug Fixes
71+
72+
* Fix bug where SassScript selectors referring to the current selector would
73+
result in a crash
5274
* Fix bug in `EmptyLineBetweenBlocks` linter where lint would incorrectly be
5375
reported when comments immediately followed the closing brace of a rule set
5476
* Fix bug in `PropertySortOrder` where properties within media queries were
5577
not checked for sort order
5678
* Fix bug in `UrlQuotes` linter where lint would be reported for data URIs
57-
* Add `SelectorFormat` linter which checks that the names of ids, classes, etc.
58-
in selectors match a desired convention
59-
* Remove `CapitalizationInSelector`, which has been superseded by the more
60-
powerful `SelectorFormat` linter
61-
* Add JSON formatter
6279
* Fix bug in `UnnecessaryParentReference` where selectors with multiple `&`
6380
references where one `&` was concatenated would incorrectly report a lint
6481

lib/scss_lint/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Defines the gem version.
22
module SCSSLint
3-
VERSION = '0.29.0'
3+
VERSION = '0.30.0'
44
end

0 commit comments

Comments
 (0)