Repository navigation
Switch to TextLint - #43
Merged
Merged
Conversation
Replace cspell with DemaConsulting.TextLint.Tool 0.1.0-beta.2, fix British spellings to US English. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The change still has an active documentation inconsistency: TextLint was added to the repository tool manifest without updating the OTS integration inventory or providing corresponding design, requirements, and verification evidence.
1 open issue
What changed in this PR
This PR replaces cspell with the pinned DemaConsulting.TextLint.Tool and standardizes repository text to US English without changing runtime behavior.
Changes:
- Adds TextLint configuration, .NET tool registration, lint integration, and CI version capture while removing cspell.
- Updates source comments, tests, requirements, design documents, gallery documentation, and contributor guidance; renames the private
AddLabelledhelper toAddLabeled. - Records remaining documentation consistency concerns involving the OTS inventory and globally allowed spellings.
| File | Description |
|---|---|
| test/DemaConsulting.Rendering.Layout.Tests/LayoutEngineTests.cs | Updates test documentation spelling. |
| test/DemaConsulting.Rendering.Layout.Tests/LayeredLayoutAlgorithmTests.cs | Updates layout test documentation spelling. |
| test/DemaConsulting.Rendering.Layout.Tests/HierarchicalLayoutAlgorithmTests.cs | Updates hierarchical layout comments and documentation spelling. |
| test/DemaConsulting.Rendering.Layout.Tests/Engine/Layered/PortDistributorTests.cs | Updates port-distribution test documentation spelling. |
| test/DemaConsulting.Rendering.Layout.Tests/Engine/Layered/LegacyInterconnectionLayoutEngineOracle.cs | Updates implementation documentation spelling. |
| test/DemaConsulting.Rendering.Layout.Tests/ContainmentLayoutTests.cs | Updates containment test comments and documentation spelling. |
| test/DemaConsulting.Rendering.Layout.Tests/ContainmentLayoutAlgorithmTests.cs | Updates containment test comment spelling. |
| test/DemaConsulting.Rendering.Gallery/GalleryWriter.cs | Updates gallery writer documentation spelling. |
| test/DemaConsulting.Rendering.Gallery/GalleryShowcaseTests.cs | Updates gallery test documentation spelling. |
| test/DemaConsulting.Rendering.Gallery/GalleryDiagrams.cs | Renames the private labeling helper and updates related comments. |
| test/DemaConsulting.Rendering.Gallery/GalleryCatalog.cs | Updates gallery descriptions to US English. |
| test/DemaConsulting.Rendering.Abstractions.Tests/ConnectorLabelPlacerTests.cs | Updates connector label placer test documentation spelling. |
| test/DemaConsulting.Rendering.Abstractions.Tests/BoxMetricsTests.cs | Updates box metrics test documentation spelling. |
| src/DemaConsulting.Rendering/NamespaceDoc.cs | Updates namespace documentation spelling. |
| src/DemaConsulting.Rendering/Graph/LayoutGraphPort.cs | Updates layout graph port API documentation spelling. |
| src/DemaConsulting.Rendering/Graph/LayoutGraphNode.cs | Updates layout graph node API documentation spelling. |
| src/DemaConsulting.Rendering.Layout/LayeredLayoutAlgorithm.cs | Updates layered layout implementation comments spelling. |
| src/DemaConsulting.Rendering.Layout/HierarchicalLayoutAlgorithm.cs | Updates hierarchical layout documentation and comments spelling. |
| src/DemaConsulting.Rendering.Layout/Engine/Layered/PortDistributor.cs | Updates port distribution documentation spelling. |
| src/DemaConsulting.Rendering.Layout/ContainmentLayoutAlgorithm.cs | Updates containment layout documentation spelling. |
| src/DemaConsulting.Rendering.Abstractions/ConnectorLabelPlacer.cs | Updates connector label placement API documentation spelling. |
| README.md | Updates named-port documentation spelling. |
| package.json | Removes the cspell development dependency. |
| lint.ps1 | Replaces cspell execution with TextLint execution. |
| docs/verification/rendering-layout/engine/layout-tree-packer.md | Updates verification documentation spelling. |
| docs/verification/rendering-abstractions/rendering-contracts.md | Updates rendering contract verification terminology. |
| docs/verification/rendering-abstractions/registries.md | Updates registry verification terminology. |
| docs/verification/rendering-abstractions/box-metrics.md | Updates box metrics verification terminology. |
| docs/verification/ots/reviewmark.md | Updates OTS verification catalog terminology. |
| docs/user_guide/introduction.md | Updates user-facing spelling. |
| docs/reqstream/rendering/layout-graph.yaml | Updates layout graph requirement justification wording. |
| docs/reqstream/rendering-svg.yaml | Updates rendering SVG requirement comments spelling. |
| docs/reqstream/rendering-layout/containment-layout.yaml | Updates containment layout requirement wording. |
| docs/reqstream/rendering-abstractions/connector-label-placer.yaml | Updates connector label placer requirement justification wording. |
| docs/reqstream/ots/reviewmark.yaml | Updates OTS requirement terminology. |
| docs/gallery/parallel-edges-and-ports/README.md | Updates parallel-edges gallery documentation spelling. |
| docs/gallery/custom-rendering/README.md | Updates custom-rendering gallery documentation spelling. |
| docs/gallery/appearance-and-themes/README.md | Updates appearance and themes gallery documentation spelling. |
| docs/design/rendering/options.md | Updates rendering options design terminology. |
| docs/design/rendering/layout-graph.md | Updates layout graph design terminology. |
| docs/design/rendering-layout/hierarchical-layout-algorithm.md | Updates hierarchical layout design terminology. |
| docs/design/rendering-layout/containment-layout.md | Updates containment layout design terminology. |
| docs/design/rendering-layout/containment-layout-algorithm.md | Updates containment algorithm design terminology. |
| docs/design/rendering-abstractions/rendering-contracts.md | Updates rendering contract design terminology. |
| docs/design/rendering-abstractions/connector-label-placer.md | Updates connector label placer design terminology. |
| CONTRIBUTING.md | Replaces cspell contributor guidance with TextLint guidance. |
| AGENTS.md | Updates linting tool and configuration references. |
| .versionmark.yaml | Adds TextLint version extraction configuration. |
| .textlint.yaml | Adds TextLint file globs, hidden-file handling, and technical terms. |
| .github/workflows/build.yaml | Adds TextLint to CI tool version capture. |
| .github/agents/lint-fix.agent.md | Updates lint-fix agent guidance for TextLint. |
| .config/dotnet-tools.json | Registers the pinned TextLint local tool. |
Review effort: Lite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Pull Request
Description
Switches spell checking from cspell to the DemaConsulting.TextLint.Tool (pinned 0.1.0-beta.2):
.cspell.yamlrenamed to.textlint.yaml(withfilesandenableGlobDot), tool added to.config/dotnet-tools.json,.versionmark.yamlandbuild.yamlversion capture,lint.ps1runsdotnet textlint, cspell removed frompackage.json, and docs/agent text updated. British spellings (labelled, catalogue, behaviour, colour, etc.) were fixed to US English.centre/unlabelledremain inwordsbecause they appear in public API names (CentreX), requirement IDs and test names.Type of Change
Related Issues
Closes #
Pre-Submission Checklist
Build and Test
pwsh ./build.ps1(not run)Code Quality
Quality Checks
pwsh ./lint.ps1(exit code 0; TextLint: 0 issues)Testing
Documentation
Additional Notes
Spelling-only edits in source/tests (plus renaming private test helper
AddLabelledtoAddLabeled).build.ps1was not run. No sysml2 model exists in this repo, so no SysML2 changes.