huridocs/uwazi

View on GitHub
app/react/Metadata/components/GeolocationViewer.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Definition for rule 'node/no-restricted-import' was not found.
Open

import React from 'react';

For more information visit Source: http://eslint.org/docs/rules/

Prop spreading is forbidden
Open

      <Map {...componentProps} height={370} markers={markers} mapStyleSwitcher showControls />

For more information visit Source: http://eslint.org/docs/rules/

Prop type "object" is forbidden
Open

  points: PropTypes.arrayOf(PropTypes.object),

For more information visit Source: http://eslint.org/docs/rules/

Do not use Array index in keys
Open

              <div key={i}>

For more information visit Source: http://eslint.org/docs/rules/

Prefer named exports.
Open

export default GeolocationViewer;

For more information visit Source: http://eslint.org/docs/rules/

There are no issues that match your filters.

Category
Status