From 5bbee50d6810f4ea62d046a6edc036373d541cb4 Mon Sep 17 00:00:00 2001 From: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com> Date: Sat, 9 May 2026 10:01:23 +0200 Subject: [PATCH 1/4] chore(lint): replace stylelint with @eslint/css for CS --- .github/CONTRIBUTING.md | 14 +- .github/workflows/automated-tests.yaml | 3 +- cspell.config.json | 1 - eslint.config.mjs | 11 + package-lock.json | 1250 +++--------------------- package.json | 12 +- stylelint.config.mjs | 7 - 7 files changed, 174 insertions(+), 1124 deletions(-) delete mode 100644 stylelint.config.mjs diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 2f22cbf24d..69c959024a 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -10,17 +10,11 @@ We use [prettier](https://prettier.io/) for automatic formatting a lot all our f To run prettier, use `node --run lint:prettier`. -### JavaScript: Run ESLint +### JavaScript and CSS: Run ESLint -We use [ESLint](https://eslint.org) to lint our JavaScript files. The configuration is in our `eslint.config.mjs` file. +We use [ESLint](https://eslint.org) to lint our JavaScript and CSS files. The configuration is in our `eslint.config.mjs` file. -To run ESLint, use `node --run lint:js`. - -### CSS: Run StyleLint - -We use [StyleLint](https://stylelint.io) to lint our CSS. The configuration is in our `stylelint.config.mjs` file. - -To run StyleLint, use `node --run lint:css`. +To run ESLint, use `node --run lint:fix`. ### Markdown: Run markdownlint @@ -43,6 +37,6 @@ The `package.json` scripts expose finer-grained test commands: - `test:watch` – keep Vitest in watch mode for fast local feedback - `test:ui` – open the Vitest UI dashboard (needs OS file-watch support enabled) - `test:calendar` – run the legacy calendar debug helper -- `test:css`, `test:markdown`, `test:prettier`, `test:spelling`, `test:js` – lint-only scripts that enforce formatting, spelling, markdown style, and ESLint. +- `test:markdown`, `test:prettier`, `test:spelling`, `test:lint` – lint-only scripts that enforce formatting, spelling, markdown style, and ESLint. You can invoke any script with `node --run