Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-ts-spellcheck

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-ts-spellcheck

spellcheck typescript code with gulp

  • 1.3.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

gulp-ts-spellcheck

Spellcheck typescript code with gulp

GitHub issues GitHub stars

Travis (.org) Coverage Status

A gulp plugin for spell checking typescript sources.

Installation

Use npm:

npm install -D gulp-ts-spellcheck

Usage

const gulp = require('gulp');
const tsSpellcheck = require('gulp-ts-spellcheck').default;

gulp.task('spellcheck', (done) => {
  return gulp.src('src/**/*.ts')
    .on('error', (err) => { done(err); })
    .pipe(tsSpellcheck({/* speller options */}))
    .pipe(tsSpellcheck.report({/* reporter options */}));
});

Configuration

Speller Options

dictionary

string[]: List of words to pass as correct (case-insensitive)

.
.
.
.pipe(tsSpellcheck({
    dictionary:['axios','fs']
}))
.
.
.

Or create a dictionary file dictionary.js:

module.exports=[
    'axios',
    'fs'
];

Then use it in your gulpfile.js:

.pipe(tsSpellcheck({
    dictionary: require('./dictionary')
}))

Contribution

To help when developing run this:

cp ./.githooks/* .git/hooks

Keywords

FAQs

Package last updated on 20 Jan 2019

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

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