silverstripe / .github

0 stars 2 forks source link

Remove stylelint warnings #228

Closed sabina-talipova closed 3 months ago

sabina-talipova commented 5 months ago

Description

After sass-lint was replaced by stylelint, it became necessary to bring existing code into compliance with the new rules so that all style files adhered to the basic rules.

Mostly this is a deviation from the rules in the writing and use of the color name instead of the hex code, indents before blocks and at the beginning of the file, empty comments. You need to go through all the modules from the list and run a lint check. Any warnings that occur must be corrected or removed from the list of rules in the .stylelintrc.yml file if they are not appropriate.

Acceptance criteria

PRs

This PR must be merged first so I can update the yarn deps for all the other repos, or else the linting in CI for the PRs will be using the outdated rules.

Lint fixing PRs

Reassign to Guy if these are still draft - but make sure you merge the above PR first!

emteknetnz commented 3 months ago

Have merged first PR, assigning back to Guy to create 1.3.0 eslint-config release