Skip to content

Commit

Permalink
Merge pull request #2 from wide/develop
Browse files Browse the repository at this point in the history
Bump 2.1.0
  • Loading branch information
jdacosta authored Sep 1, 2020
2 parents f19e960 + 6783261 commit d5ce64d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ If you've installed `@wide/stylelint-config` locally within your project, just s

Simply add a `"rules"` key to your config, then add your overrides and additions there.

For example, to change the `at-rule-no-unknown` rule to use its `ignoreAtRules` option, turn off the `block-no-empty` rule, and add the `unit-whitelist` rule:
For example, to change the `at-rule-no-unknown` rule to use its `ignoreAtRules` option, turn off the `block-no-empty` rule, and add the `unit-allowed-list` rule:

```json
{
Expand All @@ -41,7 +41,7 @@ For example, to change the `at-rule-no-unknown` rule to use its `ignoreAtRules`
}
],
"block-no-empty": null,
"unit-whitelist": ["em", "rem", "s"]
"unit-allowed-list": ["em", "rem", "s"]
}
}
```
Expand Down
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
extends: "stylelint-config-property-sort-order-smacss",
plugins: ["stylelint-order", "stylelint-scss"],
rules: {
"at-rule-blacklist": ["debug"],
"at-rule-disallowed-list": ["debug"],
"at-rule-empty-line-before": [
"always",
{
Expand All @@ -24,7 +24,7 @@ module.exports = {
"at-rule-name-space-after": "always-single-line",
"at-rule-no-unknown": null,
"at-rule-no-vendor-prefix": true,
"at-rule-property-requirelist": {
"at-rule-property-required-list": {
"font-face": [
"font-display",
"font-family",
Expand Down Expand Up @@ -87,7 +87,7 @@ module.exports = {
]
}
],
"declaration-property-value-blacklist": {
"declaration-property-value-disallowed-list": {
"border": ["none"],
"border-top": ["none"],
"border-right": ["none"],
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wide/stylelint-config",
"version": "2.0.0",
"version": "2.1.0",
"description": "The recommended stylelint config for scss files",
"license": "MIT",
"author": "Julien Martins Da Costa (https://github.com/jdacosta)",
Expand All @@ -17,9 +17,9 @@
"node": ">=10.13.0"
},
"peerDependencies": {
"stylelint": "^13.5.0",
"stylelint": "^13.7.0",
"stylelint-config-property-sort-order-smacss": "^6.3.0",
"stylelint-order": "^4.0.0",
"stylelint-scss": "^3.17.2"
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.18.0"
}
}

0 comments on commit d5ce64d

Please sign in to comment.