-
Notifications
You must be signed in to change notification settings - Fork 207
chore(vscode-settings): remove deprecated property; disable postcss validate #3325
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
Conversation
|
65ff093 to
1062688
Compare
|
🚀 Deployed on https://pr-3325--spectrum-css.netlify.app |
File metricsSummaryTotal 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. |
1062688 to
1b9c54c
Compare
| "postcss": "css" | ||
| }, | ||
| "eslint.format.enable": true, | ||
| "eslint.packageManager": "yarn", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove this?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good
1b9c54c to
048e6e0
Compare
048e6e0 to
58af8d4
Compare
Description
aslant.packageManagersettingpostcss.validate: falseaspostcss.validateconflicts with ourstylelintandpostsHow and where has this been tested?
Verified locally. Removing the following:
Raises a lint violation against
at-rule-no-unknown, establishing thatignoreAtRulesis being applied (as no exceptions are now being defined in the rule definition).Restoring the rule then returns our
unknownAtRulesviolation which is attributed topostcss.Adding
postcss.validate: falseto the workspace settings resolves the issue. Additionally — removing"extend"fromignoreAtRulesand 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