app/react/ConnectionsList/components/ToggleStyleButtons.js
Export statements should appear at the end of the file Open
Open
export function mapStateToProps({ connectionsList }) {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Prefer named exports. Open
Open
export default connect(mapStateToProps, mapDispatchToProps)(ToggleStyleButtons);
- 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
- 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 class ToggleStyleButtons 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
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "view" is not required, but has no corresponding defaultProps declaration. Open
Open
view: PropTypes.string,
- 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/
propType "switchView" is not required, but has no corresponding defaultProps declaration. Open
Open
switchView: PropTypes.func,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/