9 Commits

Author SHA1 Message Date
Luan Nico
632bb6b722 ci: Update cspell used on CI to latest version (#3727)
Update cspell used on CI to latest version `9.2.1`:

https://www.npmjs.com/package/cspell

Note that the contributing guidelines does not mandate a version, so
this (the latest) will be installed if following those instructions.
2025-09-28 19:06:21 +02:00
Luan Nico
2b8b9b9224 chore: Use GitHub Actions checkout@v4 instead of v3 (#3266)
Use GitHub Actions checkout@v4 instead of v3.
2024-08-11 21:11:28 -04:00
DevKage
6dfc1692bd chore: Pin cspell to 8.8.2 (#3167)
This PR pin down the cspell version to 8.8.2. This will avoid random
cspell check failures caused because of cspell updates.
2024-05-24 08:48:30 +02:00
Luan Nico
a036f19517 chore: Add a script to validate and fix all dictionary files (#2780)
The script has two purposes:

remove orphan words
alphabetize the files
I set it up to run on GitHub action as a checker, but a --fix option is available as well for running locally.

When running, I noticed that there are A LOT of orphaned words.
At first, I thought that it might be the case that cSpell was missing words on our docs that were clearly used, which would be a HUGE issue. I made this PR to validate that: #2735

But upon proper investigation, and using cSpell's trace command, I realized that we import multiple standard dictionaries: "en_US" and "softwareTerms", and they are constantly being updated. The word "cypher" was just added 12 hours ago, for example.

Turns out ALL of the current orphan words are properly being detected on our files, but now are included on the official dictionaries! Which is amazing.

Note that I did have to stop using the GitHub Action to run cSpell. The reason is twofold; (1) because I need to install cSpell anyway to run my script and didn't want to have the action download it again; and (2) because the version on the GitHub Action (even though it is the same 7.3.7 from npm that I have locally) doesn't have the latest updates (like does not have the cypher word that was added 12h ago). This would make my script and the CI script incompatible.
2023-10-01 17:44:58 +00:00
Luan Nico
e0a4c07f2a docs: Update cspell github action and configuration (#2325)
I am on a crusade to improve our spellchecking. I have a big PR that I am now going to break down into very small chunks to for review.

zwaldowski's cspell-action has been deprecated in favor of streetsidesoftware/cspell-action.

This PR:

updates to use the new recommended cspell action
update to use checkout v3, because why not
fixes a few violations the new action caught
Note: I think we should make a distinction between things that should be in a dictionary (e.g. AABB, a standard industry acronym that we expect people to know what it is) and specific edge-cases/ignore rules for specific parts of specific files (e.g. something like fccc which is meaningless outside of the very specific context in which it is used). For the latter, I believe we should use case-by case exceptions.
2023-02-06 11:58:44 +01:00
Lukas Klingsbo
be73867d13 ci: Make the spell check mandatory (#2159) 2022-11-09 22:52:16 +01:00
Pasha Stetsenko
4542966901 chore: Remove all .gitignore files but one (#2150)
The root level .gitignore file already works for all sub-repositories, so they are all actually unnecessary.
This PR leaves only the gitignore at the root of the repo, removing all others.
2022-11-06 21:22:19 +00:00
Lukas Klingsbo
dc79d846ce ci: Only run spell checker on PRs (#2118) 2022-10-24 21:18:46 +00:00
Aakash Pamnani
6fe517a0c2 ci: Added Spell checker in CI (#2006)
Added spell check in Github CI
2022-10-22 16:51:00 +02:00