-
Notifications
You must be signed in to change notification settings - Fork 89
spelling warnings
JC Franco edited this page Jan 10, 2025
·
1 revision
We have configured https://www.npmjs.com/package/@cspell/eslint-plugin to help catch typos. This doc covers guidelines to prevent the plugin from impacting workflows.
- If new, valid words are needed, add these to:
-
dict-calcite-design-systemfor terms within the Calcite Design System domain. -
dict-cspell-pending-upstreamfor terms belonging to an existingcspelldictionary. Submit a PR to add the words.- Once a PR is accepted and a package is updated, remove the local entry and rely on the updated package or add a new one to our
cspellconfig file.
- Once a PR is accepted and a package is updated, remove the local entry and rely on the updated package or add a new one to our
-
dict-calcite-design-system-examplesfor terms not covered above but needed for examples (avoid this option whenever possible).
-
- For dynamic terms, add a pattern to our
cspellconfig file. - For cases like hex color strings, where neither adding a word nor handling it dynamically is feasible, disable the rule for the line and include an explainer.
- Use hyphens for compound words (e.g.,
grand-grandchildinstead ofgrandgrandchild). - For random or long text, use sequential letters (e.g.,
abcdefginstead ofasdfjkl). - For long blocks of text, use standard lorem ipsum or long sentences.
- Monorepo
- Global Config
- Coding Conventions
- Testing Conventions
- Patching Packages
- Deprecation Guidance
- Continuous Integration
- GitHub Secrets
- Troubleshoot Build Errors
- Tips and Tricks
- NPM FAQ
- Issue Verification
- Wiki Conventions
- Styling Conventions
- CSS Transitions
- Restricting User Input
- ItemHidden Property
- What Happens When You Scale Vector-Based Icons
- Internationalization
- Introduction
- Getting Started
- Naming Schema
- Semantic Tokens
- Component Tokens
- Web Platform
- Build
- Documentation
- Testing
- Contributing