New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

danger-plugin-git-spellcheck

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

danger-plugin-git-spellcheck

This plugin checks the spelling in code and reports any error as markdown PR comment.

latest
danger-plugin
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

danger-plugin-git-spellcheck

Build Status npm version semantic-release

This plugin checks the spelling in code and reports any error as markdown PR comment.

Usage

Install:

yarn add danger-plugin-git-spellcheck --dev

At a glance:

// dangerfile.js
import gitSpellcheck from "danger-plugin-git-spellcheck";

gitSpellcheck();

Configuration:

This plugin use the cspell library under the hood to perform spellchecking, which can be configured using a cspell.json configuration file. Please see here for more details on cspell configuration.

// cSpell Settings
{
  // Version of the setting file.  Always 0.1
  "version": "0.1",
  // language - current active spelling language
  "language": "en",
  // words - list of words to be always considered correct
  "words": [
    "mkdirp",
    "tsmerge",
    "githubusercontent",
    "streetsidesoftware",
    "vsmarketplacebadge",
    "visualstudio"
  ],
  // flagWords - list of words to be always considered incorrect
  // This is useful for offensive words and common spelling errors.
  // For example "hte" should be "the"
  "flagWords": ["hte"]
}

Changelog

See the GitHub release history.

Contributing

See CONTRIBUTING.md.

Keywords

danger

FAQs

Package last updated on 09 Aug 2021

Did you know?

Socket

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.

Install

Related posts