Skip to content

Commit

Permalink
[GridListTile] Disable eslint for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Apr 30, 2019
1 parent f1fc0b0 commit d13ace0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/material-ui/src/GridListTile/GridListTile.js
Expand Up @@ -63,12 +63,15 @@ function ensureImageCover(imgEl, classes) {
}

const GridListTile = React.forwardRef(function GridListTile(props, ref) {
// cols rows default values are for docs only
const {
children,
classes,
className,
// eslint-disable-next-line no-unused-vars
cols = 1,
component: Component = 'li',
// eslint-disable-next-line no-unused-vars
rows = 1,
...other
} = props;
Expand Down

0 comments on commit d13ace0

Please sign in to comment.