cspell-define-config
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

cspell-define-config

Provides a simple defineConfig() function to ease the creation of cspell.config.js files for spell checking in your projects.

Installation

You can install cspell-define-config using npm:

npm install -D cspell-define-config

Usage

Here's a basic example of how to use defineConfig():

import { defineConfig } from "cspell-define-config";

export default defineConfig({
	version: "0.2",
	ignorePaths: ["node_modules/**", "**/vendor/**", "temp/**", "dist/**", "build/**"],
	minWordLength: 4,
	allowCompoundWords: true,
	words: [],
	ignoreWords: [],
	import: [],
});

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i cspell-define-config

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

4.19 kB

Total Files

11

Last publish

Collaborators

  • movahhedi