Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump stylelint-order from 4.1.0 to 6.0.3 #3757

Merged
merged 2 commits into from
May 17, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2023

Bumps stylelint-order from 4.1.0 to 6.0.3.

Release notes

Sourced from stylelint-order's releases.

6.0.3

  • Fixed sorting inside CSS-in-JS css helper

6.0.2

  • Added Stylelint v15 to peerDependencies

6.0.1

  • Fix regression causing root of CSS or SCSS to report violations

6.0.0

  • Dropped Node.js 12 and 14 support.
  • Added support for postcss-styled-syntax.

5.0.0

  • Breaking change: Dropped Node.js 8 support. Node.js 12 or greater is now required.
  • Breaking change: Dropped support for Stylelint 13 and earlier.
  • Added support for Stylelint 14.
Changelog

Sourced from stylelint-order's changelog.

6.0.3

  • Fixed sorting inside CSS-in-JS css helper

6.0.2

  • Added Stylelint v15 to peerDependencies

6.0.1

  • Fix regression causing root of CSS or SCSS to report violations

6.0.0

  • Dropped Node.js 12 and 14 support.
  • Added support for postcss-styled-syntax.

5.0.0

  • Breaking change: Dropped Node.js 8 support. Node.js 12 or greater is now required.
  • Breaking change: Dropped support for Stylelint 13 and earlier.
  • Added support for Stylelint 14.
Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [stylelint-order](https://github.com/hudochenkov/stylelint-order) from 4.1.0 to 6.0.3.
- [Release notes](https://github.com/hudochenkov/stylelint-order/releases)
- [Changelog](https://github.com/hudochenkov/stylelint-order/blob/master/CHANGELOG.md)
- [Commits](hudochenkov/stylelint-order@4.1.0...6.0.3)

---
updated-dependencies:
- dependency-name: stylelint-order
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@miketaylr
Copy link
Member

Yikes, this is a huge jump. But tests pass? WDYT @ksy36?

@ksy36
Copy link
Contributor

ksy36 commented May 15, 2023

It required styleint to be v14 or v15, so I bumped it to 14 for now, and stylelint-config-standard as well.

Will need to migrate styleint to v15 :) They've deprecated a lot of rules, so will need to change the config and possibly integrate with prettier (https://stylelint.io/migration-guide/to-15)

When we created these rules, pretty printers (like Prettier) didn't exist. They now offer a better way to consistently format code, especially whitespace. Linters and pretty printers are complementary tools that work together to help you write consistent and error-free code.

@ksy36
Copy link
Contributor

ksy36 commented May 15, 2023

Filed #3765 for updating styleint

@@ -18,6 +18,8 @@
"selector-attribute-operator-space-before": "always",
"selector-attribute-operator-space-after": "always",
"selector-attribute-brackets-space-inside": "never",
"selector-class-pattern": null,
"selector-id-pattern": null,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of classnames/ids we're using don't pass the "kebab-case", which is the standard config now:
.SearchIssue-filter
.popup-modal.is--visible
.popup-modal__close
#js-ReportForm
.js-Issue-comment-body
.label-editorLauncher
...

webcompat/static/css/src/filter.css
 1:6  ✖  Expected class selector to be kebab-case  selector-class-pattern

webcompat/static/css/src/issue-wizard-popup.css
 58:13  ✖  Expected class selector to be kebab-case  selector-class-pattern
 63:1   ✖  Expected class selector to be kebab-case  selector-class-pattern

webcompat/static/css/src/issue-wizard.css
  23:1  ✖  Expected id selector to be kebab-case  selector-id-pattern
  28:1  ✖  Expected id selector to be kebab-case  selector-id-pattern
 833:3  ✖  Expected id selector to be kebab-case  selector-id-pattern
 906:3  ✖  Expected id selector to be kebab-case  selector-id-pattern
 911:3  ✖  Expected id selector to be kebab-case  selector-id-pattern

webcompat/static/css/src/issue.css
 106:1  ✖  Expected class selector to be kebab-case  selector-class-pattern
 155:1  ✖  Expected class selector to be kebab-case  selector-class-pattern
 159:1  ✖  Expected class selector to be kebab-case  selector-class-pattern

webcompat/static/css/src/label-editor.css
 116:1   ✖  Expected class selector to be kebab-case  selector-class-pattern
 127:1   ✖  Expected class selector to be kebab-case  selector-class-pattern
 128:1   ✖  Expected class selector to be kebab-case  selector-class-pattern
 149:1   ✖  Expected class selector to be kebab-case  selector-class-pattern
 149:33  ✖  Expected class selector to be kebab-case  selector-class-pattern


16 problems (16 errors, 0 warnings)

I've disabled it for now, but it probably should be addressed to have a unified naming convention.

@ksy36
Copy link
Contributor

ksy36 commented May 15, 2023

r? @miketaylr

Copy link
Member

@miketaylr miketaylr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@ksy36 ksy36 merged commit 8c69b0b into main May 17, 2023
@ksy36 ksy36 deleted the dependabot/npm_and_yarn/stylelint-order-6.0.3 branch May 17, 2023 14:16
@ksy36
Copy link
Contributor

ksy36 commented May 17, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants