Socket
Socket
Sign inDemoInstall

remark-preset-davidtheclark

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-preset-davidtheclark - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

bin.js

1

index.js

@@ -20,3 +20,2 @@ exports.settings = {

[require('remark-lint-list-item-indent'), 'space'],
require('remark-lint-no-consecutive-blank-lines'),
require('remark-lint-no-duplicate-definitions'),

@@ -23,0 +22,0 @@ require('remark-lint-no-duplicate-headings'),

{
"name": "remark-preset-davidtheclark",
"version": "0.3.0",
"version": "0.4.0",
"description": "My remark preset, for keeping Markdown documentation tidy",
"main": "index.js",
"bin": "bin.js",
"scripts": {

@@ -25,2 +26,4 @@ "test": "echo \"Error: no test specified\" && exit 1"

"dependencies": {
"execa": "^0.8.0",
"remark-cli": "^4.0.0",
"remark-lint-blockquote-indentation": "^1.0.1",

@@ -27,0 +30,0 @@ "remark-lint-code-block-style": "^1.0.1",

@@ -10,6 +10,6 @@ # remark-preset-davidtheclark

Syntax:
Syntax — most of which is automatically fixed:
- Unordered list items marked with `-`.
- List items indented only one space beyond the markder.
- List items indented only one space beyond the marker.
- Emphasis and strong are both indicated with `*`.

@@ -19,1 +19,16 @@ - Code blocks are fenced with triple backticks.

- Other stuff that should be intuitive or prevent mistakes.
## Usage
Usage with [remark-cli](https://github.com/wooorm/remark/tree/master/packages/remark-cli).
Here's the way I like to use it, which does the following:
- Checks Markdown files in the project root and `docs/` directory.
- Automatically formats files, overwriting them (`--output`).
- Breaks tests if linting errors are found (`--frail`).
- Only outputs warnings and errors (`--quiet` and `--no-stdout`).
```
remark '*.md' 'docs/**/*.md' --use remark-preset-davidtheclark --frail --quiet --no-stdout --output
```
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