
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@cspell/cspell-types
Advanced tools
Contains cspell types and json-schema.
This package contains no dependencies to avoid any security issues.
If our spell checkers save you time, please consider supporting their development.
npm i -S @cspell/cspell-types
Can be used to make writing cspell.config.js files easier.
'use strict';
/** @type { import("@cspell/cspell-types").CSpellUserSettings } */
const cspell = {
description: 'cspell.config.js file in samples/js-config',
languageSettings: [
{
languageId: 'cpp',
allowCompoundWords: false,
patterns: [
{
name: 'pound-includes',
pattern: /^\s*#include.*/g
}
],
ignoreRegExpList: ['pound-includes']
}
],
dictionaryDefinitions: [
{
name: 'custom-words',
path: './custom-words.txt'
}
],
dictionaries: ['custom-words']
};
module.exports = cspell;
CSpellSettings (aliased as CSpellUserSettings) is the formal definition of the configuration that controls the spell checker.
Available as part of the Tidelift Subscription.
The maintainers of cspell and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. Learn more.
Brought to you by
Street Side Software
ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code. It helps developers maintain code quality and consistency. Unlike @cspell/cspell-types, which focuses on spelling, ESLint focuses on code linting and style enforcement.
Stylelint is a linter for CSS and other style sheet languages. It helps developers avoid errors and enforce consistent conventions in their styles. While @cspell/cspell-types is for spelling configurations, Stylelint is specifically for style sheet linting.
Prettier is an opinionated code formatter that supports many languages. It enforces a consistent style by parsing your code and re-printing it with its own rules. Unlike @cspell/cspell-types, which is for spelling configurations, Prettier focuses on code formatting.
FAQs
Types for cspell and cspell-lib
The npm package @cspell/cspell-types receives a total of 807,780 weekly downloads. As such, @cspell/cspell-types popularity was classified as popular.
We found that @cspell/cspell-types 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.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.