Skip to content

Commit

Permalink
Work around bad link handling in doctoc
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Nov 10, 2018
1 parent 351d791 commit 8036d25
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 10 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ choices get in the way when using Prettier.
- [CLI helper tool](#cli-helper-tool)
- [Example configuration](#example-configuration)
- [Special rules](#special-rules)
- [[curly]](#curly)
- [[lines-around-comment]](#lines-around-comment)
- [[max-len]](#max-len)
- [[no-confusing-arrow]](#no-confusing-arrow)
- [[no-mixed-operators]](#no-mixed-operators)
- [[no-tabs]](#no-tabs)
- [[no-unexpected-multiline]](#no-unexpected-multiline)
- [[quotes]](#quotes)
- [curly](#curly)
- [lines-around-comment](#lines-around-comment)
- [max-len](#max-len)
- [no-confusing-arrow](#no-confusing-arrow)
- [no-mixed-operators](#no-mixed-operators)
- [no-tabs](#no-tabs)
- [no-unexpected-multiline](#no-unexpected-multiline)
- [quotes](#quotes)
- [Enforce backticks](#enforce-backticks)
- [Forbid unnecessary backticks](#forbid-unnecessary-backticks)
- [Example _double_ quote configuration](#example-_double_-quote-configuration)
- [Example _single_ quote configuration](#example-_single_-quote-configuration)
- [Other rules worth mentioning](#other-rules-worth-mentioning)
- [[no-sequences]](#no-sequences)
- [no-sequences](#no-sequences)
- [Contributing](#contributing)
- [License](#license)

Expand Down
64 changes: 64 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"prettier"
],
"scripts": {
"doctoc": "doctoc README.md",
"doctoc": "doctoc README.md && replace \"\\[(\\[[\\w-]+\\])\\]\" \"\\$1\" README.md",
"test:lint": "eslint .",
"test:lint-verify-fail": "eslint \"test-lint/*.{js,vue}\" --config .eslintrc.base.js --format json",
"test:lint-rules": "eslint index.js --config test-config/.eslintrc.js --format json",
Expand All @@ -49,6 +49,7 @@
"eslint-plugin-vue": "5.0.0-beta.3",
"jest": "23.6.0",
"prettier": "1.15.2",
"replace": "1.0.0",
"rimraf": "2.6.2"
},
"peerDependencies": {
Expand Down

0 comments on commit 8036d25

Please sign in to comment.