Skip to content

Commit

Permalink
STCOR-745 bump stylelint to v15, and co-deps too (#1344)
Browse files Browse the repository at this point in the history
Bump `stylelint` to `v15`, `stylelint-config-standard` to `v34`. The
community config standard has evolved quite a bit since we first
implemented this, necessitating turning off several warnings in
`.stylelintrc` in order for code as-is to pass; see STCOR-746 for the
details on removing these exceptions.

Refs STCOR-745
  • Loading branch information
zburke authored Oct 3, 2023
1 parent 2fbe3ac commit 4997ab8
Show file tree
Hide file tree
Showing 4 changed files with 1,325 additions and 2,331 deletions.
14 changes: 13 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
{
"extends": "stylelint-config-standard"
"extends": "stylelint-config-standard",

"rules": {
"alpha-value-notation": null,
"color-function-notation": null,
"declaration-block-no-redundant-longhand-properties": null,
"function-no-unknown": null,
"import-notation": null,
"media-feature-range-notation": null,
"no-descending-specificity": null,
"selector-class-pattern": null,
"value-keyword-case": null
}
}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* Forgot password and Forgot username : add placeholder to input box. Refs STCOR-728.
* Include `yarn.lock`. Refs STCOR-679.
* *BREAKING* bump `react-intl` to `v6.4.4`. Refs STCOR-744.
* Bump `stylelint` to `v15` and `stylelint-config-standard` to `v34`. Refs STCOR-745.

## [9.0.0](https://github.com/folio-org/stripes-core/tree/v9.0.0) (2023-01-30)
[Full Changelog](https://github.com/folio-org/stripes-core/compare/v8.3.0...v9.0.0)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"react-redux": "^8.0.5",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"stylelint": "^8.2.0",
"stylelint-config-standard": "^17.0.0",
"stylelint": "^15.10.3",
"stylelint-config-standard": "^34.0.0",
"stylelint-junit-formatter": "^0.2.1"
},
"dependencies": {
Expand Down
Loading

0 comments on commit 4997ab8

Please sign in to comment.