Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Commit

Permalink
fixes docs linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy Leunen committed Mar 23, 2016
1 parent 29a05ac commit 18e9f1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
docs/public
docs/node_modules
3 changes: 1 addition & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"react/jsx-indent-props": [2, 4]
},
"globals": {
"componentHandler": true,
"Prism": true
"componentHandler": true
}
}
4 changes: 1 addition & 3 deletions docs/loaders/markdown-loader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ function getDemoCode(lang, token) {
return '';
}

md.renderer.rules.table_open = function () {
return '<table class="mdl-data-table mdl-shadow--2dp">\n';
};
md.renderer.rules.table_open = () => '<table class="mdl-data-table mdl-shadow--2dp">\n';

// const defaultFenceRenderer = md.renderer.rules.fence;
// https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.js#L31
Expand Down

0 comments on commit 18e9f1f

Please sign in to comment.