Skip to content

Commit

Permalink
Bump stylelint to ^14 (#136693)
Browse files Browse the repository at this point in the history
* wip

* bump

* remove removed rule

* add custom syntax

* wip

* cleanup

* fix todo from postcss upgrade
  • Loading branch information
jbudz committed Jul 20, 2022
1 parent e22e3a5 commit 089398b
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 302 deletions.
2 changes: 1 addition & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins:
- stylelint-scss
customSyntax: postcss-scss
rules:
color-no-invalid-hex: true
function-calc-no-invalid: true
string-no-newline: true
unit-no-unknown: true
property-no-unknown:
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1140,6 +1140,7 @@
"postcss": "^8.4.14",
"postcss-loader": "^4.2.0",
"postcss-prefix-selector": "^1.16.0",
"postcss-scss": "^4.0.4",
"prettier": "^2.7.1",
"pretty-format": "^27.5.1",
"q": "^1.5.1",
Expand All @@ -1156,8 +1157,8 @@
"source-map": "^0.7.3",
"string-replace-loader": "^2.2.0",
"style-loader": "^1.1.3",
"stylelint": "13.8.0",
"stylelint-scss": "^3.18.0",
"stylelint": "^14.9.1",
"stylelint-scss": "^4.3.0",
"superagent": "^3.8.2",
"supertest": "^3.1.0",
"supports-color": "^7.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ Observations:
}

* {
// requires upgrade to stylint 14
// stylelint-disable-next-line property-no-unknown
print-color-adjust: exact !important;
}

Expand Down

0 comments on commit 089398b

Please sign in to comment.