ronin-rb / ronin-rb.github.io

The ronin-rb.dev website
https://ronin-rb.dev
GNU General Public License v3.0
25 stars 20 forks source link

CSS validator/linter t9 GitHub Actions workflow #81

Closed Programmer80101 closed 1 month ago

Programmer80101 commented 1 month ago

CSS Linter

Add CSS linter to GitHub Actions workflow. It automatically catches CSS typos, errors, and issue.

It identified a significant number of issues. Fix issue #80. You can fix some of those errors by running the following code:

npx stylelint **/*.css --fix
postmodern commented 1 month ago

@Programmer80101 any reason why we shouldn't use the actions-hub/stylelint GitHub Actions action? This looks ready to be merged, but just wanted to make sure there was a reason to not use the stylelint GitHub action.

Programmer80101 commented 1 month ago

@Programmer80101 any reason why we shouldn't use the actions-hub/stylelint GitHub Actions action? This looks ready to be merged, but just wanted to make sure there was a reason to not use the stylelint GitHub action.

Not using stylelint Github action allows more customization and flexibility. Using stylelint GitHub action is definitely better in some ways.