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 from 14.16.1 to 15.10.1 in /backend #1436

Merged
merged 15 commits into from
Sep 26, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 7, 2023

Bumps stylelint from 14.16.1 to 15.10.1.

Release notes

Sourced from stylelint's releases.

15.10.1

15.10.0

15.9.0

  • Added: insideFunctions: {"function": int} to number-max-precision (#6932) (@​romainmenke).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-radius shorthand (#6958) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-width shorthand (#6956) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-column and grid-row (#6957) (@​mattxwang).

15.8.0

15.7.0

  • Added: splitList: boolean to selector-nested-pattern (#6896) (@​is2ei).
  • Fixed: unit-no-unknown false positives for unicode-range descriptors (#6892) (@​romainmenke).

... (truncated)

Changelog

Sourced from stylelint's changelog.

15.10.1

15.10.0

15.9.0

  • Added: insideFunctions: {"function": int} to number-max-precision (#6932) (@​romainmenke).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-radius shorthand (#6958) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-width shorthand (#6956) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-column and grid-row (#6957) (@​mattxwang).

15.8.0

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by mattxwang, a new releaser for stylelint since your current version.


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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.16.1 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint@14.16.1...15.10.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript labels Jul 7, 2023
@asteel-gsa asteel-gsa temporarily deployed to dev July 11, 2023 17:07 — with GitHub Actions Inactive
@asteel-gsa asteel-gsa temporarily deployed to management July 11, 2023 17:07 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

Terraform plan for management

No changes. Your infrastructure matches the configuration.
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

📝 Plan generated in Tests for PRs #647

@github-actions
Copy link
Contributor

github-actions bot commented Jul 11, 2023

Terraform plan for dev

No changes. Your infrastructure matches the configuration.
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Warning: Argument is deprecated

  with module.dev.module.database.cloudfoundry_service_instance.rds,
  on /tmp/terraform-data-dir/modules/dev.database/database/main.tf line 14, in resource "cloudfoundry_service_instance" "rds":
  14:   recursive_delete = var.recursive_delete

Since CF API v3, recursive delete is always done on the cloudcontroller side.
This will be removed in future releases

(and 2 more similar warnings elsewhere)

❌ Plan not applied in Deploy to Development and Management Environment #237 (Plan has changed)

@danswick
Copy link
Contributor

Stylelint version >15 no longer includes any of the stylistic rules that stylelint-config-prettier depends on. Updating Stylelint to this version breaks some of out other dependencies and we'll need to do a little disentangling here.

Refs:

@danswick danswick temporarily deployed to meta September 26, 2023 00:46 — with GitHub Actions Inactive
@danswick danswick temporarily deployed to dev September 26, 2023 00:46 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2023

Terraform plan for meta

No changes. Your infrastructure matches the configuration.
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Warning: Argument is deprecated

  with module.s3-backups.cloudfoundry_service_instance.bucket,
  on /tmp/terraform-data-dir/modules/s3-backups/s3/main.tf line 14, in resource "cloudfoundry_service_instance" "bucket":
  14:   recursive_delete = var.recursive_delete

Since CF API v3, recursive delete is always done on the cloudcontroller side.
This will be removed in future releases

✅ Plan applied in Deploy to Development and Management Environment #237

Comment on lines +47 to +48
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^11.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

These two dependencies were both updated to remove stylelint dependencies <15.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2023

File Coverage Missing
All files 89%
api/serializers.py 90% 125-126 131 136
api/test_views.py 96% 105
api/uei.py 96% 17-18 107-108
api/views.py 97% 196-197 204-205 226 362-363
audit/excel.py 87% 402 418 424 429 434 456-457 469 670-671 680-686 696 716
audit/forms.py 56% 22-29
audit/intake_to_dissemination.py 92% 70-71 200-206 256
audit/models.py 87% 185 218 389 407-408 416 438 514-515 519 527 536 546 549-555
audit/test_commands.py 87%
audit/test_mixins.py 90% 112-113 117-119 184-185 189-191
audit/test_validators.py 95% 434 438 606-607 846 853 860 867
audit/utils.py 76% 13 21 38
audit/validators.py 96% 269-270 298-299 314-315 325 516-525
audit/views.py 42% 86-107 130-131 205-206 251-252 263-264 266-270 317-330 333-347 352-365 382-388 393-413 440-444 449-478 521-525 530-550 577-581 586-615 658-662 667-679 682-692 697-709 732-733 738-787 790-830 833-850
audit/cross_validation/additional_ueis.py 93% 33
audit/cross_validation/check_award_ref_declaration.py 90%
audit/cross_validation/check_award_reference_uniqueness.py 93%
audit/cross_validation/check_certifying_contacts.py 87%
audit/cross_validation/check_findings_count_consistency.py 91%
audit/cross_validation/check_ref_number_in_cap.py 90%
audit/cross_validation/check_ref_number_in_findings_text.py 90%
audit/cross_validation/errors.py 78% 30 65
audit/cross_validation/naming.py 68% 178-182
audit/cross_validation/submission_progress_check.py 85% 64 79-82
audit/cross_validation/tribal_data_sharing_consent.py 86% 20
audit/cross_validation/validate_general_information.py 93% 28-29
audit/fixtures/single_audit_checklist.py 79% 156 232-241
audit/management/commands/load_fixtures.py 46% 39-45
audit/viewlib/submission_progress_view.py 96% 158-159
audit/viewlib/upload_report_view.py 30% 32-35 44 91-115 118-186
cms/views.py 57% 11-16 29-30
config/urls.py 71% 87
djangooidc/backends.py 78% 32 57-63
djangooidc/exceptions.py 66% 19 21 23 28
djangooidc/oidc.py 16% 32-35 45-51 64-70 92-149 153-199 203-226 230-275 280-281 286
djangooidc/views.py 80% 22 43 114
djangooidc/tests/common.py 96%
report_submission/forms.py 92% 35
report_submission/views.py 76% 84 216-217 219 241-242 261-262 288-398 401-411
report_submission/templatetags/get_attr.py 76% 8 11-14 18
support/admin.py 49% 9-10 13 34 37 74 77 82 89-95 98-100 103-104 107-108
support/cog_over.py 91% 30-33 93 140
support/signals.py 66% 23-24 29-30
support/test_cog_over.py 98% 134-135 224
tools/update_program_data.py 89% 96
users/auth.py 95% 39-40
users/fixtures/user_fixtures.py 91%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against 327eb7e

@danswick danswick temporarily deployed to dev September 26, 2023 01:05 — with GitHub Actions Inactive
@danswick danswick temporarily deployed to meta September 26, 2023 01:05 — with GitHub Actions Inactive
@danswick danswick temporarily deployed to dev September 26, 2023 01:06 — with GitHub Actions Inactive
@danswick danswick temporarily deployed to meta September 26, 2023 01:06 — with GitHub Actions Inactive
Comment on lines 16 to 17
"check:stylelint": "npx stylelint '**/*.{css,scss,sass}'",
"fix:stylelint": "npx stylelint --fix '**/*.{css,scss,sass}'",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think stylelint removed the --ignore-pattern option?

"fix:stylelint": "npx stylelint --fix --ignore-pattern uswds static/scss",
"check:stylelint": "npx stylelint '**/*.{css,scss,sass}'",
"fix:stylelint": "npx stylelint --fix '**/*.{css,scss,sass}'",
"check:prettier": "npx prettier --check .",
Copy link
Contributor

Choose a reason for hiding this comment

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

Prettier is currently checking a lot of stuff that we haven't checked in the past (as far as I can tell, anyway). Rendered JSON files, yaml, markdown, etc.

I'm not sure if we want to start checking those things or handle them in other ways.

@danswick danswick temporarily deployed to dev September 26, 2023 01:17 — with GitHub Actions Inactive
@danswick danswick temporarily deployed to dev September 26, 2023 01:22 — with GitHub Actions Inactive
@danswick danswick temporarily deployed to meta September 26, 2023 01:22 — with GitHub Actions Inactive
@danswick danswick temporarily deployed to dev September 26, 2023 01:22 — with GitHub Actions Inactive
@danswick danswick temporarily deployed to meta September 26, 2023 01:22 — with GitHub Actions Inactive
@danswick
Copy link
Contributor

I tried running prettier with --write to see if anything would break.

To get a diff without all of those noisy changes, see https://github.com/GSA-TTS/FAC/pull/1436/files/ed86906c702399b98c2a596cb0a6fd2cb9c72f53.

@danswick danswick temporarily deployed to dev September 26, 2023 01:25 — with GitHub Actions Inactive
@danswick danswick temporarily deployed to meta September 26, 2023 01:25 — with GitHub Actions Inactive
@danswick danswick self-assigned this Sep 26, 2023
@heymatthenry heymatthenry temporarily deployed to dev September 26, 2023 16:53 — with GitHub Actions Inactive
@heymatthenry heymatthenry temporarily deployed to meta September 26, 2023 16:53 — with GitHub Actions Inactive
Matt Henry added 2 commits September 26, 2023 13:42
Stylelint's default rule for media query syntax uses
the newer context notation. However, that syntax requires
[fairly recent browsers](https://caniuse.com/mdn-css_at-rules_media_or_syntax).
@heymatthenry heymatthenry temporarily deployed to dev September 26, 2023 17:47 — with GitHub Actions Inactive
@heymatthenry heymatthenry temporarily deployed to meta September 26, 2023 17:47 — with GitHub Actions Inactive
@danswick danswick temporarily deployed to dev September 26, 2023 19:45 — with GitHub Actions Inactive
@danswick danswick temporarily deployed to meta September 26, 2023 19:45 — with GitHub Actions Inactive
@danswick
Copy link
Contributor

@heymatthenry I went ahead and reverted my prettier --write changes and removed the Prettier npm commands and .prettierignore to keep this PR scoped to Stylelint updates. Ticket for re-enabling Prettier incoming!

@heymatthenry
Copy link
Contributor

@danswick Awesome! LGTM.

@heymatthenry heymatthenry added this pull request to the merge queue Sep 26, 2023
Merged via the queue into main with commit 83eeca2 Sep 26, 2023
12 checks passed
@heymatthenry heymatthenry deleted the dependabot/npm_and_yarn/backend/stylelint-15.10.1 branch September 26, 2023 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants