markdownlint-cli2
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -28,3 +28,3 @@ #!/usr/bin/env node | ||
const packageName = "markdownlint-cli2"; | ||
const packageVersion = "0.8.0"; | ||
const packageVersion = "0.8.1"; | ||
const libraryName = "markdownlint"; | ||
@@ -881,3 +881,6 @@ const libraryVersion = markdownlintLibrary.getVersion(); | ||
); | ||
if ((globPatterns.length === 0) && !nonFileContents) { | ||
if ( | ||
((globPatterns.length === 0) && !nonFileContents) || | ||
(configPath === null) | ||
) { | ||
showHelp(logMessage); | ||
@@ -884,0 +887,0 @@ return 2; |
{ | ||
"name": "markdownlint-cli2", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -169,3 +169,3 @@ # markdownlint-cli2 | ||
```bash | ||
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.8.0 "**/*.md" "#node_modules" | ||
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.8.1 "**/*.md" "#node_modules" | ||
``` | ||
@@ -187,3 +187,3 @@ | ||
```bash | ||
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.8.0 "**/*.md" "#node_modules" | ||
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.8.1 "**/*.md" "#node_modules" | ||
``` | ||
@@ -197,3 +197,3 @@ | ||
> ```bash | ||
> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.8.0 "**/*.md" "#node_modules" | ||
> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.8.1 "**/*.md" "#node_modules" | ||
> ``` | ||
@@ -407,3 +407,3 @@ | ||
- repo: https://github.com/DavidAnson/markdownlint-cli2 | ||
rev: v0.8.0 | ||
rev: v0.8.1 | ||
hooks: | ||
@@ -410,0 +410,0 @@ - id: markdownlint-cli2 |
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
60935
1014