Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
The configuration format has changed in a backward-incompatible way, so
in line with SemVer we release this as a new major version.
  • Loading branch information
aboks committed Mar 12, 2018
1 parent 01e8fbb commit 723cd32
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Changelog

## [2.0.0] - 2018-03-12

### Changed
- The primary configuration option is now the list of tags that should not
occur without a class qualifier. The secondary configuration option has
been dropped. The primary configuration option can also be a string (if
the rule applies to a single tag), and also supports regular expressions.

Before:
```js
"plugin/stylelint-selector-tag-no-without-class": [ true, {
"tags": ["div", "span"]
} ]
```
After:
```js
"plugin/stylelint-selector-tag-no-without-class": ["div", "span"]
```
This brings the configuration in line with Stylelint's `*-blacklist` plugins.
Thanks to [Aleks Hudochenkov](https://github.com/hudochenkov) for the [suggestion](https://github.com/stylelint/stylelint/pull/3201#issuecomment-371052094).

## [1.0.0] - 2018-03-07

Initial public release.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylelint-selector-tag-no-without-class",
"version": "1.0.0",
"version": "2.0.0",
"description": "Styelint plugin to disallow certain tags without a qualifying classname in selectors",
"keywords": ["stylelint-plugin", "stylelint", "css"],
"main": "index.js",
Expand Down

0 comments on commit 723cd32

Please sign in to comment.