markdown-list-linter-cli
Advanced tools
Comparing version 0.0.6 to 0.0.7
#! /usr/bin/env node | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const markdown_list_linter_1=require("markdown-list-linter"),commander_1=require("commander"),program=new commander_1.Command;program.name("markdown-list-linter").version("0.0.5").description("CLI tool to lint markdown lists to warn when list items are not alphabetically ordered").option("-f, --file [value]","path to the markdown file that needs to be linted").parse(process.argv);const options=program.opts();if(process.argv.slice(2).length||program.outputHelp(),options.file){const o=typeof options.file=="string"?options.file:__dirname,t=(0,markdown_list_linter_1.lintMarkdownList)(o);let e="";e+=`SUMMARY: | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const markdown_list_linter_1=require("markdown-list-linter"),commander_1=require("commander"),packageJson=require("../package.json"),program=new commander_1.Command;program.name("markdown-list-linter").version(packageJson.version).description("CLI tool to lint markdown lists to warn when list items are not alphabetically ordered").option("-f, --file [value]","path to the markdown file that needs to be linted").parse(process.argv);const options=program.opts();if(process.argv.slice(2).length||program.outputHelp(),options.file){const o=typeof options.file=="string"?options.file:__dirname,t=(0,markdown_list_linter_1.lintMarkdownList)(o);let e="";e+=`SUMMARY: | ||
`+t.summary+` | ||
@@ -4,0 +4,0 @@ `,t.errorObject&&(e+=` |
{ | ||
"name": "markdown-list-linter-cli", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "CLI tool to lint markdown lists to warn when list items are not alphabetically ordered", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.min.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5389