Skip to content

Commit 1a16964

Browse files
committed
test(markdown): switched linting to use remark
1 parent d8b55e2 commit 1a16964

File tree

4 files changed

+1180
-417
lines changed

4 files changed

+1180
-417
lines changed

.remarkrc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
exports.settings = {
2+
listItemIndent: 1,
3+
emphasis: '_',
4+
strong: '_',
5+
bullet: '*',
6+
incrementListMarker: false
7+
};
8+
9+
exports.plugins = ['remark-preset-lint-travi', [require('remark-toc'), {tight: true}]];

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# hapi-react-router
22

3-
[hapi](https://hapijs.com) route to delegate routing for html content to react-router
3+
[hapi](https://hapi.dev/) route to delegate routing for html content to
4+
[react-router](https://github.com/ReactTraining/react-router/tree/v3/docs)
45

56
[![Build Status](https://img.shields.io/travis/travi/hapi-react-router.svg?style=flat&branch=master)](https://travis-ci.org/travi/hapi-react-router)
67
[![Codecov](https://img.shields.io/codecov/c/github/travi/hapi-react-router.svg)](https://codecov.io/github/travi/hapi-react-router)
@@ -20,7 +21,7 @@ $ npm install @travi/hapi-react-router -S
2021
:warning: this plugin expects [external babel-helpers](https://babeljs.io/docs/plugins/external-helpers/)
2122
to be provided by the consumer
2223

23-
### Register with your [Hapi](https://hapijs.com) v17 server
24+
### Register with your [Hapi](https://hapi.dev/) v18+ server
2425

2526
Include this plugin in the [manifest](https://github.com/hapijs/glue) of your
2627
hapi application to direct all requests to `/html` to a server-side renderer
@@ -86,9 +87,9 @@ required.
8687
minification and, therefore, not match in production.
8788
* `Root`: a react component that will wrap the mounted components that result
8889
from the matched route
89-
* `store`: a data store that will be passed as a prop to the `<Root />` component
90-
so that your component can inject it into the context through a provider
91-
component.
90+
* `store`: a data store that will be passed as a prop to the `<Root />`
91+
component so that your component can inject it into the context through a
92+
provider component.
9293

9394
## Contribution
9495

0 commit comments

Comments
 (0)