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

docs: Update cspell github action and configuration #2325

Merged
merged 5 commits into from Feb 6, 2023

Conversation

luanpotter
Copy link
Member

@luanpotter luanpotter commented Feb 6, 2023

Description

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.

Checklist

  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

@luanpotter luanpotter changed the title docs: Try out updated version of github action [WIP] docs: Update cspell github action and configuration Feb 6, 2023
@luanpotter luanpotter marked this pull request as ready for review February 6, 2023 03:45
@@ -37,6 +37,9 @@ extension ColorExtension on Color {
);
}

// used as an example hex color code on the documentation below
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// used as an example hex color code on the documentation below
// Used as an example hex color code on the documentation below.

@@ -42,6 +42,9 @@ extension PaintExtension on Paint {
return Paint()..color = color;
}

// used as an example hex color code on the documentation below
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// used as an example hex color code on the documentation below
// Used as an example hex color code on the documentation below.

@spydon spydon merged commit e0a4c07 into main Feb 6, 2023
@spydon spydon deleted the luan.cspell.action-test branch February 6, 2023 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants