Skip to content

Commit

Permalink
docs: Configure linter for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbrowne committed Feb 11, 2021
1 parent 1cd1b62 commit 82fcc1f
Show file tree
Hide file tree
Showing 5 changed files with 312 additions and 4 deletions.
1 change: 1 addition & 0 deletions .remarkignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CHANGELOG.md
5 changes: 5 additions & 0 deletions .remarkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"plugins": [
"remark-preset-cozy"
]
}
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ before_install:
script:
- yarn build
- yarn lint
- yarn lint:md -f
- yarn test
before_deploy:
- git config --global user.email "[email protected]"
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"build:doc:react": "styleguidist build --config docs/styleguidist.config.js",
"deploy:doc": "git-directory-deploy --directory docs/build/ --branch gh-pages",
"lint": "eslint --ext js,jsx .",
"lint:md": "remark . -o",
"test": "lerna run --concurrency 1 test",
"build": "lerna run --parallel build",
"watch:doc:react": "styleguidist server --config docs/styleguidist.config.js",
Expand All @@ -33,6 +34,7 @@
"lerna": "3.16.0",
"mini-css-extract-plugin": "^0.5.0",
"react-styleguidist": "^9.0.4",
"remark-cli": "^9.0.0",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"webpack": "4.41.2"
Expand Down
Loading

0 comments on commit 82fcc1f

Please sign in to comment.