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

Dev/update to stylelint 14 #3

Merged
merged 28 commits into from
Mar 18, 2022
Merged

Conversation

goester-team23
Copy link
Contributor

No description provided.

Upgrade stylelint to version ^14.0.0.
Upgrade stylelint-config-standard to version ^24.0.0
Remove stylelint-scss dependency as this repo is only about css linting.
Check in package-lock.json as this is the recommended way to go.
…rated

As there is no other setting in this file it is removed
The tests are adapted as the rule that was previously used is removed from the linting
configuration. The version is set to 1.0.0 to prepare the release of a new version of this package.
Also the CHANGELOG.md is prepared for release with detailed information what changes in this
release.

BREAKING CHANGE: Many linting rules are added, removed or updated. Support for styleint versions
lower than 14.0.0 is dropped.
…ig-standard repo

This updates stylelint-config-standard to version 25.0.0
@goester-team23 goester-team23 self-assigned this Feb 16, 2022
@goester-team23 goester-team23 force-pushed the dev/update-to-stylelint-14 branch from a0141d3 to cb8ab87 Compare February 16, 2022 17:51
This stylelint plugin makes sure all linting rules which might clash with prettier are disabled.
@goester-team23 goester-team23 force-pushed the dev/update-to-stylelint-14 branch from cb8ab87 to 737d008 Compare February 16, 2022 18:06
This fixes function-no-unknown not recognizing lighten() and darken() functions
Setup a husky pre-commit hook that runs pretty-quick on staged files, i.e. prettier is run over staged files
Concerning anuglar, when creating a component one typically adds three files, including a *.component.scss file for style. Even if the component does not has any styles, the file should be commited and configuration (link in @component annotation) should be added to be prepared if styles must be added in the future.
@goester-team23 goester-team23 merged commit 79bbeec into master Mar 18, 2022
@goester-team23 goester-team23 deleted the dev/update-to-stylelint-14 branch September 29, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant