remark-preset-davidtheclark
Advanced tools
Comparing version 0.7.0 to 0.8.0
10
bin.js
@@ -7,4 +7,8 @@ #!/usr/bin/env node | ||
const result = execa.sync('remark', [ | ||
process.cwd(), | ||
let files = process.argv.slice(1); | ||
if (files.length === 0) { | ||
files = [process.cwd()]; | ||
} | ||
const result = execa.sync('remark', files.concat([ | ||
`--use`, | ||
@@ -16,3 +20,3 @@ `remark-preset-davidtheclark`, | ||
`--output` | ||
]); | ||
])); | ||
@@ -19,0 +23,0 @@ if (result.stderr) { |
@@ -16,3 +16,2 @@ exports.settings = { | ||
require('remark-lint-no-duplicate-definitions'), | ||
require('remark-lint-no-duplicate-headings'), | ||
require('remark-lint-no-multiple-toplevel-headings'), | ||
@@ -19,0 +18,0 @@ require('remark-lint-no-tabs'), |
{ | ||
"name": "remark-preset-davidtheclark", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "My remark preset, for keeping Markdown documentation tidy", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -48,3 +48,5 @@ remark-preset-davidtheclark | ||
It accepts files as arguments, e.g. `remark-preset-davidtheclark path/to/a.md 'b/**/*.md'`. | ||
[remark]: https://github.com/wooorm/remark | ||
[remark-lint]: https://github.com/wooorm/remark-lint |
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
5653
66
52