-
Notifications
You must be signed in to change notification settings - Fork 2
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
Upgrade to Stylelint 15 and handle breaking changes (OSOE-678) #70
Comments
@tteguayco are you actively working on this? If not I would start this if it is okay for you as well @Piedone @DemeSzabolcs |
No problem on my side, @wAsnk |
Fine by me too. |
It seems like the best fit is to use Prettier for this. Should I only handle scss style checking like it was before so it gives a warning on a styling violation or should I utilize all its features? What other features does it have? It can be integrated with linters (eslint, styleint) to handle these styling options. |
I think we need the following:
We have JS, MD, and to an extent HTML linting (with the UI Testing Toolbox) covered, so we don't need anything else from Prettier at this stage under this issue. YAML will perhaps be needed under #11. |
Do you mean not commented changes, or what do you mean by pending edits?
Prettier only covers formatting rules, not code-quality rules so it is a bit different from these linters. https://prettier.io/docs/en/comparison If we will use Prettier then we will need to turn off all the formatting rules for styles, that's what Prettier docs are suggesting: Then I will do this for scss files only if it is not needed for others. |
Unsaved edits that you have in an editor window. E.g. what shouldn't happen is that you save an SCSS file, |
Followup to #67 (comment)
Consider how to handle these breaking rules and evaluate if using Prettier is a good fit.
Jira issue
The text was updated successfully, but these errors were encountered: