
Security News
GitHub Actions Supply Chain Attack Puts Thousands of Projects at Risk
A compromised GitHub Action exposed secrets in CI/CD logs, putting thousands of projects at risk and forcing developers to urgently secure their workflows.
@cspell/dict-makefile
Advanced tools
@cspell/dict-makefile is a dictionary extension for the CSpell spell checker that provides support for Makefile-specific terminology. It helps developers ensure that their Makefile scripts are free from spelling errors by recognizing and validating common terms used in Makefiles.
Makefile Terminology Support
This feature allows CSpell to recognize and validate Makefile-specific terms. The code sample demonstrates how to configure CSpell to use the Makefile dictionary and validate a simple Makefile script.
const cspell = require('cspell');
const settings = {
language: 'en',
dictionaries: ['makefile'],
};
const text = 'all: build\n\t@echo Building project...';
const result = cspell.validateText(text, settings);
console.log(result);
@cspell/dict-python is a dictionary extension for CSpell that provides support for Python-specific terminology. Similar to @cspell/dict-makefile, it helps developers ensure that their Python code is free from spelling errors by recognizing and validating common Python terms.
@cspell/dict-html is a dictionary extension for CSpell that provides support for HTML-specific terminology. It helps developers ensure that their HTML documents are free from spelling errors by recognizing and validating common HTML terms, similar to how @cspell/dict-makefile works for Makefiles.
Makefile dictionary for cspell.
This is a pre-built dictionary for use with CSpell.
Global Install and add to CSpell global settings.
npm install -g @cspell/dict-makefile
cspell link add @cspell/dict-makefile
cspell link remove @cspell/dict-makefile
Manual installation is useful if you want to include this dictionary as part of your CI/CD lint process.
npm i @cspell/dict-makefile
The cspell-ext.json
file in this package should be added to the import section in your cspell.json
file.
{
// …
"import": ["@cspell/dict-makefile/cspell-ext.json"],
// …
}
See: How to Create a New Dictionary
MIT
Some packages may have other licenses included.
Brought to you by
Street Side Software
FAQs
Makefile dictionary for cspell.
The npm package @cspell/dict-makefile receives a total of 436,738 weekly downloads. As such, @cspell/dict-makefile popularity was classified as popular.
We found that @cspell/dict-makefile 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 compromised GitHub Action exposed secrets in CI/CD logs, putting thousands of projects at risk and forcing developers to urgently secure their workflows.
Research
Security News
A malicious Maven package typosquatting a popular library is secretly stealing OAuth credentials on the 15th of each month, putting Java developers at risk.
Security News
Socket and Seal Security collaborate to fix a critical npm overrides bug, resolving a three-year security issue in the JavaScript ecosystem's most popular package manager.