app/react/Markdown/components/PieChart.js
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/
Prefer named exports. Open
Open
export default connect(mapStateToProps)(PieChartComponent);
- 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 const PieChartComponent = props => {
- 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/