Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@cspell/dict-k8s
Advanced tools
@cspell/dict-k8s is a dictionary extension for the CSpell spell checker that includes Kubernetes-related terms. It helps developers working with Kubernetes by providing a comprehensive list of Kubernetes-specific words, ensuring that these terms are not flagged as spelling errors.
Kubernetes Dictionary Integration
This feature integrates the Kubernetes dictionary into the CSpell spell checker configuration. By adding 'k8s' to the dictionaries array, CSpell will recognize and not flag Kubernetes-specific terms as spelling errors.
{
"dictionaries": ["k8s"]
}
Custom Dictionary Path
This feature allows users to specify a custom path for the Kubernetes dictionary file. This can be useful if the dictionary file is located in a different directory or if multiple dictionary files are being used.
{
"dictionaryDefinitions": [
{ "name": "k8s", "path": "@cspell/dict-k8s/k8s.txt" }
],
"dictionaries": ["k8s"]
}
@cspell/dict-python is a dictionary extension for the CSpell spell checker that includes Python-related terms. Similar to @cspell/dict-k8s, it helps developers by providing a comprehensive list of Python-specific words, ensuring that these terms are not flagged as spelling errors.
@cspell/dict-java is a dictionary extension for the CSpell spell checker that includes Java-related terms. It serves a similar purpose to @cspell/dict-k8s by providing a list of Java-specific words to prevent them from being marked as spelling errors.
@cspell/dict-html is a dictionary extension for the CSpell spell checker that includes HTML-related terms. Like @cspell/dict-k8s, it ensures that HTML-specific terms are recognized and not flagged as spelling errors.
K8s dictionary for cspell.
This is a pre-built dictionary for use with cspell.
Tool | Version |
---|---|
cspell | >= 6 |
Code Spell Checker - Visual Studio Code | >= 2 |
Global Install and add to cspell global settings.
npm install -g @cspell/dict-k8s
cspell link add @cspell/dict-k8s
cspell link remove @cspell/dict-k8s
The cspell-ext.json
file in this package should be added to the import section in your cspell.json file.
{
// …
"import": ["@cspell/dict-k8s/cspell-ext.json"],
// …
}
Building is only necessary if you want to modify the contents of the dictionary. Note: Building will take a few minutes for large files.
chmod u+x ./src/build.sh
npm run build
MIT
Some packages may have other licenses included.
FAQs
K8s dictionary for cspell.
The npm package @cspell/dict-k8s receives a total of 618,995 weekly downloads. As such, @cspell/dict-k8s popularity was classified as popular.
We found that @cspell/dict-k8s demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.