huridocs/uwazi

View on GitHub
app/react/components/Elements/Alert.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

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

import PropTypes from 'prop-types';

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

Prefer named exports.
Open

export default Alert;

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

Anchor used as a button. Anchors are primarily expected to navigate. Use the button element instead. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
Open

            <a onClick={this.hide} className="alert-close">

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

There are no issues that match your filters.

Category
Status