Skip to content

Commit

Permalink
docs: Fix doc generation for jsx files
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchin committed Jan 30, 2017
1 parent b254d1a commit cc045bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .esdoc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"source": "./src",
"destination": "./doc",
"includes": ["\\.(jsx?)$"],
"plugins": [
{
"name": "esdoc-importpath-plugin",
Expand Down
2 changes: 2 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
rules:
class-methods-use-this:
- 1
import/prefer-default-export:
- 0
indent:
- 2
- 2
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"build:scss": "NODE_ENV=production node-sass src/scss --recursive --source-map true --output lib/css",
"changelog": "conventional-changelog --preset angular --infile CHANGELOG.md --same-file",
"dev": "webpack-dev-server --inline --config webpack-example.config.js --content-base example",
"doc": "esdoc",
"lint": "npm run lint:js && npm run lint:scss",
"lint:js": "eslint src",
"lint:scss": "sass-lint --verbose --no-exit",
Expand Down

0 comments on commit cc045bc

Please sign in to comment.