diff --git a/admin/cipipeline/phase1.md b/admin/cipipeline/phase1.md index 046ee84..ccb48f0 100644 --- a/admin/cipipeline/phase1.md +++ b/admin/cipipeline/phase1.md @@ -31,6 +31,9 @@ So far the features listed below have been completed to some degree: - Linting (JS) - Implemented: ction triggers on any PR, uses eslint to perform style enforcement on all JS components - ToDo: trigger workflow only on certain PRs which relate to JS code +- Linting (HTML) + - Implemented: action triggers on any PR, uses HTMLhint to perform style enforcement on all HTML components +- Linting (CSS) + - Implemented: action triggers on any PR, uses Stylelint to perform style enforcement on all CSS components - -## Planned Features and Timeline \ No newline at end of file +## Planned Features and Timeline diff --git a/specs/adrs/111422-csslinting-stylelint.md b/specs/adrs/111422-csslinting-stylelint.md new file mode 100644 index 0000000..d35b025 --- /dev/null +++ b/specs/adrs/111422-csslinting-stylelint.md @@ -0,0 +1,19 @@ +# Use Stylelint for CSS linting framework + +- Status: accept +- Deciders: Arthur Lu, Marc Reta +- Date: 11 / 14 / 22 + +## Decision Drivers + +- Need linting to work with multiple style standards +- Need linting to be fast and informative + +## Considered Options + +- Stylelint +- Prettier + +## Decision Outcome + +Chosen Option: Stylelint for its easy installation and unopinionated. diff --git a/specs/adrs/111422-htmllinting-htmlhint.md b/specs/adrs/111422-htmllinting-htmlhint.md new file mode 100644 index 0000000..0bd3471 --- /dev/null +++ b/specs/adrs/111422-htmllinting-htmlhint.md @@ -0,0 +1,19 @@ +# Use HTMLhint for HTML linting framework + +- Status: accept +- Deciders: Arthur Lu, Marc Reta +- Date: 11 / 14 / 22 + +## Decision Drivers + +- Need linting to work with multiple style standards +- Need linting to be fast and informative + +## Considered Options + +- HTMLhint +- HTML-validate + +## Decision Outcome + +Chosen Option: HTMLhint for its low configuration complexity.