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
Remove syntax
option
#6420
Remove syntax
option
#6420
Conversation
🦋 Changeset detectedLatest commit: 87c9bea The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Is it everything I should have done? I guess, no |
I will need some help as I haven't worked with these parts of the codebase yet. |
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.
@fpetrakov Thanks for working on the issue. This change should be a breaking change, so could you please change the base branch from main
to v15
(I've just created it)? See also #6409.
@fpetrakov Let's fix all type errors caused by removing Also, we need to remove the code about Lines 332 to 335 in e3585ed
It also looks like the following code could be removed (there may be more): stylelint/types/stylelint/index.d.ts Line 211 in e3585ed
|
@ybiquitous Thanks for the detailed explanation. I will work on this issue ASAP 🚀 |
stylelint/lib/__tests__/standalone-syntax.test.js Lines 153 to 183 in e3585ed
Should I remove these 2 tests? |
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.
Thanks, all the changes look good! Is it possible to remove also syntax
occurrences in the type definition?
stylelint/types/stylelint/index.d.ts
Line 211 in e3585ed
syntax?: string; |
stylelint/types/stylelint/index.d.ts
Line 536 in e3585ed
export type PostcssPluginOptions = Omit<LinterOptions, 'syntax' | 'customSyntax'> | Config; |
Could you add a changelog entry with the following content via
|
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.
Thank you! LGTM 👍🏼
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.
LGTM, thank you!
Closes #6414.
No, it's self-explanatory.