Right now, the files in the repo have inconsistent formatting issues. There's extraneous whitespace errors. This could also be elaborated to focus on HTML accessibility, i.e. https://www.a11yproject.com/.
Github Actions should be incorporated so that the linter runs every time a commit is pushed to a PR. This would enforce these standards constantly and consistently so that only polished code exists on the main branch.
I was not able to find an existing an existing Github Action in the marketplace for HTML linting: https://github.com/marketplace?type=actions&query=html
My path forward would be to create a Python script that utilizes https://pypi.org/project/html-linter/ and add that as a custom Github Action workflow to run this across all HTML files in the repo. It should error if any issues - Info, Warning, and Error - arise and block PRs from being merged. I have not started the investigation into finding a Python CSS linter to do the same with the files in the css/ folder.
Right now, the files in the repo have inconsistent formatting issues. There's extraneous whitespace errors. This could also be elaborated to focus on HTML accessibility, i.e. https://www.a11yproject.com/.
Github Actions should be incorporated so that the linter runs every time a commit is pushed to a PR. This would enforce these standards constantly and consistently so that only polished code exists on the
mainbranch.I was not able to find an existing an existing Github Action in the marketplace for HTML linting: https://github.com/marketplace?type=actions&query=html
My path forward would be to create a Python script that utilizes https://pypi.org/project/html-linter/ and add that as a custom Github Action workflow to run this across all HTML files in the repo. It should error if any issues - Info, Warning, and Error - arise and block PRs from being merged. I have not started the investigation into finding a Python CSS linter to do the same with the files in the
css/folder.