|
1 | 1 | # SCSS-Lint Changelog |
2 | 2 |
|
3 | | -## master (unreleased) |
| 3 | +## 0.30.0 |
| 4 | + |
| 5 | +### New Features |
4 | 6 |
|
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 |
11 | 7 | * Add `VendorPrefixes` linter which ensures only whitelisted vendor-prefixed |
12 | 8 | properties are used |
13 | 9 | * Add `scss_files` configuration option allowing a default set of files to be |
|
21 | 17 | * Add support to `SelectorFormat` for specifying different conventions for |
22 | 18 | different types of selectors via the `<type>_convention` options |
23 | 19 | * Add `@import` check to `TrailingSemicolon` |
24 | | -* Improve message reported by `PropertySortOrder` |
25 | | -* Enforce UTF-8 encoding by default |
26 | 20 | * Add support for differentiating `@include`s with actual content versus |
27 | 21 | no-content `@include`s in `DeclarationOrder` |
28 | 22 | * Add support for checking the ordering of content within `@include`s |
29 | 23 | * Add `ImportPath` linter which ensures paths for `@import` directives follow |
30 | 24 | a certain format |
31 | 25 | * Add `QualifyingElement` linter which checks for unnecessarily-qualified |
32 | 26 | 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 |
37 | 27 | * Add `--out` flag which allows the output of the last formatter specified via |
38 | 28 | the `--format` flag to be redirected to a file |
39 | 29 | * Add `--require` flag allowing arbitrary Ruby modules to be loaded (facilitating |
40 | 30 | 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/ |
41 | 40 | * Prefix all syntax error messages with "Syntax Error:" |
42 | 41 |
|
| 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 | + |
43 | 52 | ## 0.29.0 |
44 | 53 |
|
| 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 | + |
45 | 64 | * 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 |
48 | 65 | * Enhance `TrailingSemicolon` to check for more than one semicolon at the end |
49 | 66 | 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 |
52 | 74 | * Fix bug in `EmptyLineBetweenBlocks` linter where lint would incorrectly be |
53 | 75 | reported when comments immediately followed the closing brace of a rule set |
54 | 76 | * Fix bug in `PropertySortOrder` where properties within media queries were |
55 | 77 | not checked for sort order |
56 | 78 | * 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 |
62 | 79 | * Fix bug in `UnnecessaryParentReference` where selectors with multiple `&` |
63 | 80 | references where one `&` was concatenated would incorrectly report a lint |
64 | 81 |
|
|
0 commit comments