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

markdownlint-cli

Package Overview
Dependencies
Maintainers
3
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdownlint-cli - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

5

markdownlint.js

@@ -9,2 +9,3 @@ #!/usr/bin/env node

var getStdin = require('get-stdin');
var jsYaml = require('js-yaml');
var differenceWith = require('lodash.differencewith');

@@ -35,3 +36,3 @@ var flatten = require('lodash.flatten');

try {
var userConfig = markdownlint.readConfigSync(userConfigFile);
var userConfig = markdownlint.readConfigSync(userConfigFile, [JSON.parse, jsYaml.safeLoad]);
config = extend(config, userConfig);

@@ -120,3 +121,3 @@ } catch (err) {

.option('-o, --output [outputFile]', 'write issues to file (no console)')
.option('-c, --config [configFile]', 'configuration file')
.option('-c, --config [configFile]', 'configuration file (JSON or YAML)')
.option('-i, --ignore [file|directory|glob]', 'files to ignore/exclude', concatArray, []);

@@ -123,0 +124,0 @@

{
"name": "markdownlint-cli",
"version": "0.9.0",
"version": "0.10.0",
"description": "MarkdownLint Command Line Interface",

@@ -43,5 +43,6 @@ "main": "markdownlint.js",

"glob": "~7.0.3",
"js-yaml": "~3.11.0",
"lodash.differencewith": "~4.5.0",
"lodash.flatten": "~4.4.0",
"markdownlint": "~0.9.0",
"markdownlint": "~0.10.0",
"rc": "~1.2.7"

@@ -48,0 +49,0 @@ },

4

README.md

@@ -26,3 +26,3 @@ # markdownlint-cli [![Travis CI Build Status][travis-badge]][travis-url] [![AppVeyor CI Build Status][appveyor-badge]][appveyor-url]

-o, --output [outputFile] write issues to file (no console)
-c, --config [configFile] configuration file
-c, --config [configFile] configuration file (JSON or YAML)
-i, --ignore [file|directory|glob] files to ignore/exclude

@@ -51,3 +51,3 @@ ```

CLI argument `--config` is not mandatory. If it is not provided, `markdownlint-cli` looks for file `.markdownlint.json` in current folder, or for file `.markdownlintrc` in current or all upper folders. The algorithm is described in details on [rc package page][rc-standards].
CLI argument `--config` is not mandatory. If it is not provided, `markdownlint-cli` looks for file `.markdownlint.json` in current folder, or for file `.markdownlintrc` in current or all upper folders. The algorithm is described in details on [rc package page][rc-standards]. If `--config` argument is provided, the file must be valid JSON or YAML.

@@ -54,0 +54,0 @@ ## Related

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