app/react/Markdown/components/GaugeChart.js
Export statements should appear at the end of the file Open
Open
export const GaugeChartComponent = props => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Do not use Array index in keys Open
Open
<Cell key={index} fill={sliceColors[index % sliceColors.length]} />
- 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 from 'react';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Prefer named exports. Open
Open
export default connect(mapStateToProps)(GaugeChartComponent);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/