Skip to content

Commit

Permalink
Replace deprecated rules (#12)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
yangmingshan and sindresorhus committed Oct 3, 2020
1 parent 2e0d986 commit 916c1b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ module.exports = {
}
],
'declaration-no-important': true,
'declaration-property-value-blacklist': {
'declaration-property-value-disallowed-list': {
'/^border(?!-(width|spacing))/': [
/thin/,
/medium/,
Expand Down Expand Up @@ -128,14 +128,14 @@ module.exports = {
],
'media-feature-name-no-vendor-prefix': true,
'at-rule-no-vendor-prefix': true,
'at-rule-property-requirelist': {
'at-rule-property-required-list': {
'font-face': [
'font-display',
'font-family',
'font-style'
]
},
'comment-word-blacklist': [
'comment-word-disallowed-list': [
[
/^TODO:/,
/^FIXME:/,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
},
"devDependencies": {
"ava": "^2.4.0",
"stylelint": "^13.5.0",
"stylelint": "^13.7.0",
"xo": "^0.31.0"
},
"peerDependencies": {
"stylelint": ">=13.5.0"
"stylelint": ">=13.7.0"
}
}

0 comments on commit 916c1b2

Please sign in to comment.