-
Notifications
You must be signed in to change notification settings - Fork 196
Expand spellcheck to entire repository including .github directory #6058
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
Changes from 2 commits
4b37a32
18dbd16
90a7c70
7d07a1d
1e0e8b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Spellcheck | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| paths: | ||
| - '**/*.md' | ||
| pull_request: | ||
| branches: [ main ] | ||
| paths: | ||
| - '**/*.md' | ||
|
|
||
| jobs: | ||
| spellcheck: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '18' | ||
| cache: 'yarn' | ||
|
|
||
| - name: Install dependencies | ||
| run: yarn install | ||
|
|
||
| - name: Run spellcheck | ||
| run: yarn spellcheck | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,120 @@ | ||
| 2k | ||
| APIs | ||
| backend | ||
| benchmarking | ||
| blockstore | ||
| BLS | ||
| Butterflynet | ||
| Calibnet | ||
| calibnet | ||
| calibnet-related | ||
| cardinality | ||
| ChainSafe | ||
| chainsafe | ||
| ChainSafe's | ||
| changelog | ||
| CIDs | ||
| CLI | ||
| cli | ||
| Cloudflare | ||
| codebase | ||
| config | ||
| Datacap | ||
| datacap | ||
| devnet | ||
| Devops | ||
| Devs | ||
| DHT | ||
| DigitalOcean | ||
| Drand | ||
| enums | ||
| Ethereum | ||
| F3 | ||
| f3 | ||
| f3-sidecar | ||
| FFI | ||
| FIL | ||
| fil | ||
| Filecoin | ||
| filecoin-project | ||
| Filfox | ||
| FilOz | ||
| FIP | ||
| FIPs | ||
| FVM | ||
| GC | ||
| GiB | ||
| Github | ||
| Grafana | ||
|
Comment on lines
+52
to
+53
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use canonical brand casing; remove incorrect variants. Whitelist only the official spellings so the checker catches brand-case mistakes. Apply: - Github
+ GitHub
- CloudFlare
- MacOS
- githubOptional adds (if you want to allow correct forms explicitly): + Cloudflare
+ macOSAlso applies to: 183-183, 285-286, 533-533 |
||
| hardcoded | ||
| hotfix | ||
| ie. | ||
|
coderabbitai[bot] marked this conversation as resolved.
Outdated
|
||
| Implementers | ||
| implementers | ||
| io | ||
| IPFS | ||
| JSON | ||
| JSON-RPC | ||
| JWT | ||
| JWTs | ||
| keypair | ||
| keystore | ||
| Kubernetes | ||
| kubernetes | ||
| libp2p | ||
| Linux | ||
| Liveness | ||
| liveness | ||
| localhost | ||
| localhost's | ||
| LRU | ||
| M1 | ||
| M2 | ||
| macOS | ||
| Mainnet | ||
| mainnet | ||
| multiaddress | ||
| namespace | ||
| NetworkEvents | ||
| NV22 | ||
| NV23 | ||
| NV24 | ||
| NVMe | ||
| onwards | ||
| orchestrator | ||
| Organisation | ||
| P2P | ||
|
Comment on lines
+91
to
+92
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Align with en-US dictionary (project uses -l en-US). These British/incorrect forms will mask style issues. Apply: - Organisation
- organisation
- standardised
- cancelled
- cancelation
+ organization
+ standardized
+ canceled
+ cancellationIf UK spellings are desired in specific docs, prefer file-scoped ignores instead of global whitelist. Also applies to: 340-341, 568-568, 496-497 🤖 Prompt for AI Agents |
||
| p2p | ||
| performant | ||
| pre-compiled | ||
| preload | ||
| preloaded | ||
| pubsub | ||
| Q4 | ||
| README | ||
| RNG | ||
| Roadmap | ||
| roadmap | ||
| RPC | ||
| rustup | ||
| S3-compatible | ||
| SecP256k1 | ||
| semver | ||
| serverless | ||
| stateroots | ||
| struct | ||
| subcommands | ||
| swappiness | ||
| SyncStateMachine | ||
| TabItem | ||
| TBD | ||
| Terraform | ||
| testnet | ||
| Tipset | ||
| tipset | ||
| tipsets | ||
| V0 | ||
| V1 | ||
| VPS | ||
| WIP | ||
| zstd | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Trigger on dictionary and config changes too.
Currently only Markdown edits run the job. Include dictionary and config so edits are validated in CI.
Apply:
on: push: branches: [ main ] paths: - - '**/*.md' + - '**/*.md' + - 'dictionary.txt' + - 'package.json' + - '.github/workflows/spellcheck.yml' pull_request: branches: [ main ] paths: - - '**/*.md' + - '**/*.md' + - 'dictionary.txt' + - 'package.json' + - '.github/workflows/spellcheck.yml' + workflow_dispatch:📝 Committable suggestion
🤖 Prompt for AI Agents