app/react/Markdown/components/slider.js
propType "visibleCount" is not required, but has no corresponding defaultProps declaration. Open
Open
visibleCount: PropTypes.number,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "children" is not required, but has no corresponding defaultProps declaration. Open
Open
children: PropTypes.array,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'node/no-restricted-import' was not found. Open
Open
import React, { Component } from 'react';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Missing an explicit type attribute for button Open
Open
<button className="slider-btn" onClick={() => this.slide(1)}>
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "initialIndex" is not required, but has no corresponding defaultProps declaration. Open
Open
initialIndex: PropTypes.number,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
'title' PropType is defined but prop is never used Open
Open
title: PropTypes.string,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Prefer named exports. Open
Open
export default class VictimSlider extends Component {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "title" is not required, but has no corresponding defaultProps declaration. Open
Open
title: PropTypes.string,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Prop type "array" is forbidden Open
Open
children: PropTypes.array,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Export statements should appear at the end of the file Open
Open
export default class VictimSlider extends Component {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Missing an explicit type attribute for button Open
Open
<button className="slider-btn" onClick={() => this.slide(-1)}>
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/