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

@cspell/cspell-json-reporter

Package Overview
Dependencies
Maintainers
1
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cspell/cspell-json-reporter

JSON reporter for CSpell

  • 6.2.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@cspell/cspell-json-reporter

CSpell reporter with JSON output

Installation

Install it as a development package in the repository that will use it.

npm install -SD @cspell/cspell-json-reporter

Usage

Add this to cspell.yaml:

reporters: [['@cspell/cspell-json-reporter', { outFile: 'out.json' }]]

or cspell.json

{
  "reporters": [["@cspell/cspell-json-reporter", { "outFile": "out.json" }]]
}

Output file format

@cspell/cspell-json-reporter emits a JSON file with the following fields:

  • issues - found spelling issues
  • result - CSpell linting results
  • error - CSell error messages
  • progress - file linting progress messages if settings.progress is enabled
  • info - CSpell execution logs if settings.verbose is enabled
  • debug - CSpell debug logs if settings.debug is enabled

See CSpellJSONReporterOutput for more info.

Settings

Possible settings:

  • outFile (required) - path for JSON file to emit
  • verbose (default: false) - enable saving of execution logs
  • debug (default: false) - enable saving of debug logs
  • progress (default: false) - enable saving of file progress logs

See CSpellJSONReporterSettings for more info.

FAQs

Package last updated on 30 Jun 2022

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