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

build: Add Markdownlint #48

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
build: Add Stylelint
These changes introduce StylelintNow to the project, a tool for
enforcing consistent CSS styles.

Here's a breakdown:

- **`.stylelintignore`:** This new file tells Stylelint to ignore
certain files during checks, specifically `*.min.css`. This is useful
for excluding minified CSS files, as they are often generated and
shouldn't be directly edited.
- **`.stylelintrc.json`:** This file contains Stylelint's configuration.
It sets up the project to use `stylelint-config-standard`, a set of
common Stylelint rules, ensuring a consistent code style across the
project.
- **`package-lock.json`:**  This file records the exact versions of all
dependencies, including Stylelint and its configuration.  This ensures
that the project's dependencies are reproducible and maintainable.
- As usual, a number of CSS issues were identified and fixed within the
codebase.

Overall, these changes aim to improve code quality and maintainability
by introducing automated CSS style checks. It ensures that the CSS code
adheres to predefined standards and avoids inconsistent formatting. This
will help reduce errors and improve the readability of the CSS codebase.
  • Loading branch information
MikeRatcliffe committed Sep 30, 2024
commit 90039d144bdd4207410b1d4a936ed8c4dae24a7b
1 change: 1 addition & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.min.css
3 changes: 3 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["stylelint-config-standard"]
}
Loading