Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: wooorm/remark-preset-wooorm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2680be1b3df2c4ab265c06a2a3032dc61dbbe329
Choose a base ref
...
head repository: wooorm/remark-preset-wooorm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0e8be2f318db01ab9cb6abeffd4ec2af0befc0ff
Choose a head ref
  • 8 commits
  • 3 files changed
  • 1 contributor

Commits on Oct 15, 2019

  1. Add funding.yml

    wooorm authored Oct 15, 2019
    Copy the full SHA
    bc0cc67 View commit details

Commits on Mar 30, 2020

  1. Update dev-dependencies

    wooorm committed Mar 30, 2020
    Copy the full SHA
    f54cd5e View commit details
  2. Update dependencies

    wooorm committed Mar 30, 2020
    Copy the full SHA
    0a6b1bf View commit details
  3. Copy the full SHA
    447ba99 View commit details
  4. Copy the full SHA
    56cbbde View commit details
  5. Update lint rules

    wooorm committed Mar 30, 2020
    Copy the full SHA
    691d44b View commit details
  6. Copy the full SHA
    e5e622f View commit details
  7. 7.0.0

    wooorm committed Mar 30, 2020
    Copy the full SHA
    0e8be2f View commit details
Showing with 62 additions and 60 deletions.
  1. +1 −0 funding.yml
  2. +9 −9 index.js
  3. +52 −51 package.json
1 change: 1 addition & 0 deletions funding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: wooorm
18 changes: 9 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
@@ -7,16 +7,12 @@ var preset = require('retext-preset-wooorm')
exports.settings = {
bullet: '*',
emphasis: '*',
fences: true
fences: true,
ruleSpaces: false
}

exports.plugins = [
[
require('remark-retext'),
unified()
.use(english)
.use(preset)
],
[require('remark-retext'), unified().use(english).use(preset)],
require('remark-preset-lint-recommended'),
require('remark-comment-config'),
require('remark-validate-links'),
@@ -40,6 +36,7 @@ exports.plugins = [
[require('remark-lint-maximum-heading-length'), 60],
[require('remark-lint-maximum-line-length'), 80],
require('remark-lint-no-consecutive-blank-lines'),
require('remark-lint-no-duplicate-defined-urls'),
require('remark-lint-no-duplicate-definitions'),
require('remark-lint-no-duplicate-headings-in-section'),
require('remark-lint-no-emphasis-as-heading'),
@@ -64,12 +61,15 @@ exports.plugins = [
require('remark-lint-no-unneeded-full-reference-image'),
require('remark-lint-no-unneeded-full-reference-link'),
[require('remark-lint-ordered-list-marker-value'), 'ordered'],
[require('remark-lint-rule-style'), '* * *'],
[require('remark-lint-rule-style'), '***'],
[require('remark-lint-strong-marker'), '*'],
[require('remark-lint-table-cell-padding'), 'padded'],
require('remark-lint-table-pipe-alignment'),
require('remark-lint-table-pipes'),
[require('remark-lint-unordered-list-marker-style'), '*'],
[require('remark-toc'), {maxDepth: 3, tight: true}],
[
require('remark-toc'),
{maxDepth: 3, tight: true, heading: 'contents|toc|table[ -]of[ -]contents?'}
],
require('remark-github')
]
103 changes: 52 additions & 51 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remark-preset-wooorm",
"version": "6.0.1",
"version": "7.0.0",
"description": "Personal markdown and prose style",
"license": "MIT",
"keywords": [
@@ -19,66 +19,67 @@
],
"dependencies": {
"remark-comment-config": "^5.0.0",
"remark-github": "^8.0.0",
"remark-lint-blockquote-indentation": "^1.0.0",
"remark-lint-checkbox-character-style": "^1.0.0",
"remark-lint-checkbox-content-indent": "^1.0.0",
"remark-lint-code-block-style": "^1.0.0",
"remark-lint-definition-case": "^1.0.0",
"remark-lint-definition-spacing": "^1.0.0",
"remark-lint-emphasis-marker": "^1.0.0",
"remark-lint-fenced-code-flag": "^1.0.0",
"remark-lint-fenced-code-marker": "^1.0.0",
"remark-github": "^9.0.0",
"remark-lint-blockquote-indentation": "^2.0.0",
"remark-lint-checkbox-character-style": "^2.0.0",
"remark-lint-checkbox-content-indent": "^2.0.0",
"remark-lint-code-block-style": "^2.0.0",
"remark-lint-definition-case": "^2.0.0",
"remark-lint-definition-spacing": "^2.0.0",
"remark-lint-emphasis-marker": "^2.0.0",
"remark-lint-fenced-code-flag": "^2.0.0",
"remark-lint-fenced-code-marker": "^2.0.0",
"remark-lint-file-extension": "^1.0.0",
"remark-lint-final-definition": "^1.0.0",
"remark-lint-first-heading-level": "^1.0.0",
"remark-lint-heading-style": "^1.0.0",
"remark-lint-link-title-style": "^1.0.0",
"remark-lint-maximum-heading-length": "^1.0.0",
"remark-lint-maximum-line-length": "^1.0.0",
"remark-lint-no-consecutive-blank-lines": "^1.0.0",
"remark-lint-no-duplicate-definitions": "^1.0.0",
"remark-lint-no-duplicate-headings-in-section": "^1.0.4",
"remark-lint-no-emphasis-as-heading": "^1.0.0",
"remark-lint-no-empty-url": "^1.0.5",
"remark-lint-final-definition": "^2.0.0",
"remark-lint-first-heading-level": "^2.0.0",
"remark-lint-heading-style": "^2.0.0",
"remark-lint-link-title-style": "^2.0.0",
"remark-lint-maximum-heading-length": "^2.0.0",
"remark-lint-maximum-line-length": "^2.0.0",
"remark-lint-no-consecutive-blank-lines": "^2.0.0",
"remark-lint-no-duplicate-defined-urls": "^1.0.0",
"remark-lint-no-duplicate-definitions": "^2.0.0",
"remark-lint-no-duplicate-headings-in-section": "^2.0.0",
"remark-lint-no-emphasis-as-heading": "^2.0.0",
"remark-lint-no-empty-url": "^2.0.0",
"remark-lint-no-file-name-articles": "^1.0.0",
"remark-lint-no-file-name-consecutive-dashes": "^1.0.0",
"remark-lint-no-file-name-irregular-characters": "^1.0.0",
"remark-lint-no-file-name-mixed-case": "^1.0.0",
"remark-lint-no-file-name-outer-dashes": "^1.0.0",
"remark-lint-no-heading-content-indent": "^1.0.0",
"remark-lint-no-heading-indent": "^1.0.0",
"remark-lint-no-heading-like-paragraph": "^1.0.3",
"remark-lint-no-heading-punctuation": "^1.0.0",
"remark-lint-no-html": "^1.0.0",
"remark-lint-no-missing-blank-lines": "^1.0.0",
"remark-lint-no-multiple-toplevel-headings": "^1.0.0",
"remark-lint-no-paragraph-content-indent": "^1.0.6",
"remark-lint-no-reference-like-url": "^1.0.4",
"remark-lint-no-shell-dollars": "^1.0.0",
"remark-lint-no-table-indentation": "^1.0.0",
"remark-lint-no-tabs": "^1.0.0",
"remark-lint-no-unneeded-full-reference-image": "^1.0.0",
"remark-lint-no-unneeded-full-reference-link": "^1.0.0",
"remark-lint-ordered-list-marker-value": "^1.0.0",
"remark-lint-rule-style": "^1.0.0",
"remark-lint-strong-marker": "^1.0.0",
"remark-lint-table-cell-padding": "^1.0.0",
"remark-lint-table-pipe-alignment": "^1.0.0",
"remark-lint-table-pipes": "^1.0.0",
"remark-lint-unordered-list-marker-style": "^1.0.0",
"remark-preset-lint-recommended": "^3.0.1",
"remark-retext": "^3.0.0",
"remark-toc": "^6.0.0",
"remark-validate-links": "^9.0.0",
"remark-lint-no-heading-content-indent": "^2.0.0",
"remark-lint-no-heading-indent": "^2.0.0",
"remark-lint-no-heading-like-paragraph": "^2.0.0",
"remark-lint-no-heading-punctuation": "^2.0.0",
"remark-lint-no-html": "^2.0.0",
"remark-lint-no-missing-blank-lines": "^2.0.0",
"remark-lint-no-multiple-toplevel-headings": "^2.0.0",
"remark-lint-no-paragraph-content-indent": "^2.0.0",
"remark-lint-no-reference-like-url": "^2.0.0",
"remark-lint-no-shell-dollars": "^2.0.0",
"remark-lint-no-table-indentation": "^2.0.0",
"remark-lint-no-tabs": "^2.0.0",
"remark-lint-no-unneeded-full-reference-image": "^2.0.0",
"remark-lint-no-unneeded-full-reference-link": "^2.0.0",
"remark-lint-ordered-list-marker-value": "^2.0.0",
"remark-lint-rule-style": "^2.0.0",
"remark-lint-strong-marker": "^2.0.0",
"remark-lint-table-cell-padding": "^2.0.0",
"remark-lint-table-pipe-alignment": "^2.0.0",
"remark-lint-table-pipes": "^2.0.0",
"remark-lint-unordered-list-marker-style": "^2.0.0",
"remark-preset-lint-recommended": "^4.0.0",
"remark-retext": "^4.0.0",
"remark-toc": "^7.0.0",
"remark-validate-links": "^10.0.0",
"retext-english": "^3.0.0",
"retext-preset-wooorm": "^2.0.0",
"unified": "^8.0.0"
"unified": "^9.0.0"
},
"devDependencies": {
"prettier": "^1.0.0",
"remark-cli": "^7.0.0",
"xo": "^0.24.0"
"prettier": "^2.0.0",
"remark-cli": "^8.0.0",
"xo": "^0.28.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",