Socket
Socket
Sign inDemoInstall

@cspell/cspell-types

Package Overview
Dependencies
Maintainers
1
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cspell/cspell-types - npm Package Compare versions

Comparing version 5.3.0-alpha.2 to 5.3.0-alpha.3

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [5.3.0-alpha.3](https://github.com/streetsidesoftware/cspell/compare/v5.3.0-alpha.2...v5.3.0-alpha.3) (2021-02-23)
### Bug Fixes
* Improve reporting on files matching glob patterns. ([#994](https://github.com/streetsidesoftware/cspell/issues/994)) ([da991f9](https://github.com/streetsidesoftware/cspell/commit/da991f93a061c5b64ce437332c7107ef2ef89472))
# [5.3.0-alpha.2](https://github.com/streetsidesoftware/cspell/compare/v5.3.0-alpha.1...v5.3.0-alpha.2) (2021-02-22)

@@ -8,0 +19,0 @@

8

package.json

@@ -6,3 +6,3 @@ {

},
"version": "5.3.0-alpha.2",
"version": "5.3.0-alpha.3",
"description": "Types for cspell and cspell-lib",

@@ -13,3 +13,5 @@ "main": "dist/index.js",

".": "./dist/index.js",
"./cspell.schema.json": "./cspell.schema.json"
"./cspell.schema.json": "./cspell.schema.json",
"./ajv.config": "./ajv.config.js",
"./ajv.config.js": "./ajv.config.js"
},

@@ -50,3 +52,3 @@ "scripts": {

},
"gitHead": "31d54344356d2e6736c889b1d44bb35ddd9a107c"
"gitHead": "4ab3c426b21963fd03e4f558fc8b378c415a6650"
}

@@ -6,1 +6,56 @@ # Cspell Types

This package contains no dependencies to avoid any security issues.
## Support Future Development
[![](https://github.com/streetsidesoftware/cspell/raw/master/resources/100px-Green_Patreon_Donate_Shield_Badge.png)](https://www.patreon.com/streetsidesoftware)
## cspell for enterprise
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.](https://tidelift.com/subscription/pkg/npm-cspell?utm_source=npm-cspell&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
## Installation
```
npm i -SD @cspell/cspell-types
```
## Usage
Can be use to make writing `cspell.config.js` files easier.
```js
'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;
```
## API
`CSpellSettings` alias `CSpellUserSettings` is the formal definition of the configuration that controls the spell checker.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc