Skip to content

Conversation

@cdransf
Copy link
Member

@cdransf cdransf commented Oct 24, 2024

Description

  • Removes deprecated aslant.packageManager setting
  • Adds postcss.validate: false as postcss.validate conflicts with our stylelint and posts

How and where has this been tested?

Verified locally. Removing the following:

"at-rule-no-unknown": [
  true,
  {
    ignoreAtRules: ["extend", "container", "each", "include", "mixin"],
  },
],

Raises a lint violation against at-rule-no-unknown, establishing that ignoreAtRules is being applied (as no exceptions are now being defined in the rule definition).

Restoring the rule then returns our unknownAtRules violation which is attributed to postcss.

Adding postcss.validate: false to the workspace settings resolves the issue. Additionally — removing "extend" from ignoreAtRules and restarting the stylelint server in VS Code causes stylelint to surface a violation — we can then rely on stylelint to provide coverage for syntax violations like this.

To-do list

  • I have read the contribution guidelines.
  • I have updated relevant storybook stories and templates.
  • I have tested these changes in Windows High Contrast mode.
  • If my change impacts other components, I have tested to make sure they don't break.
  • If my change impacts documentation, I have updated the documentation accordingly.
  • ✨ This pull request is ready to merge. ✨

@cdransf cdransf added size-3 M ~18-30hrs; moderate effort or complexity, several work days needed. skip_vrt Add to a PR to skip running VRT (but still pass the action) ready-for-review labels Oct 24, 2024
@cdransf cdransf self-assigned this Oct 24, 2024
@changeset-bot
Copy link

changeset-bot bot commented Oct 24, 2024

⚠️ No Changeset found

Latest commit: 58af8d4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cdransf cdransf force-pushed the cdransf/workspace-settings branch from 65ff093 to 1062688 Compare October 24, 2024 23:42
@github-actions
Copy link
Contributor

github-actions bot commented Oct 24, 2024

🚀 Deployed on https://pr-3325--spectrum-css.netlify.app

@github-actions
Copy link
Contributor

github-actions bot commented Oct 24, 2024

File metrics

Summary

Total size: 4.30 MB*

🎉 No changes detected in any packages

* Size determined by adding together the size of the main file for all packages in the library.
* Results are not gzipped or minified.
* An ASCII character in UTF-8 is 8 bits or 1 byte.

@cdransf cdransf force-pushed the cdransf/workspace-settings branch from 1062688 to 1b9c54c Compare October 28, 2024 16:16
"postcss": "css"
},
"eslint.format.enable": true,
"eslint.packageManager": "yarn",
Copy link
Contributor

Choose a reason for hiding this comment

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

Why remove this?

Copy link
Member Author

Choose a reason for hiding this comment

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

We can keep it — but VS Code indicated that it's now handled by default and the setting has been deprecated.

Copy link
Member Author

Choose a reason for hiding this comment

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

}
],
"js/ts.implicitProjectConfig.experimentalDecorators": true,
"postcss.validate": false,
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks good

@cdransf cdransf force-pushed the cdransf/workspace-settings branch from 1b9c54c to 048e6e0 Compare October 28, 2024 16:46
@cdransf cdransf requested a review from castastrophe October 28, 2024 16:48
@castastrophe castastrophe force-pushed the cdransf/workspace-settings branch from 048e6e0 to 58af8d4 Compare October 28, 2024 17:09
@castastrophe castastrophe enabled auto-merge (squash) October 28, 2024 17:10
@castastrophe castastrophe merged commit 4f45494 into main Oct 28, 2024
18 of 24 checks passed
@castastrophe castastrophe deleted the cdransf/workspace-settings branch October 28, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review size-3 M ~18-30hrs; moderate effort or complexity, several work days needed. skip_vrt Add to a PR to skip running VRT (but still pass the action)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants