huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prefer named exports.
Open

export default NumberRangeFilter;

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

Prop type "object" is forbidden
Open

  query: PropTypes.shape({ filters: PropTypes.object, types: PropTypes.array }),

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

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

/* eslint-disable camelcase */

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

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/

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/

propType "file" is not required, but has no corresponding defaultProps declaration.
Open

  file: PropTypes.object,

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

Prefer named exports.
Open

export default function filters(state = initialState, action = {}) {

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

Prefer named exports.
Open

export default Confirm;
Severity: Minor
Found in app/react/App/Confirm.js by eslint

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

Prefer named exports.
Open

export default connect(mapStateToProps)(Footer);
Severity: Minor
Found in app/react/App/Footer.js by eslint

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

propType "language" is not required, but has no corresponding defaultProps declaration.
Open

  language: PropTypes.string,
Severity: Minor
Found in app/react/App/Provider.js by eslint

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

Dangerous property 'dangerouslySetInnerHTML' found
Open

      <script dangerouslySetInnerHTML={{ __html: reduxData.settings.collection.get('customJS') }} />
Severity: Minor
Found in app/react/App/Root.js by eslint

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

Dangerous property 'dangerouslySetInnerHTML' found
Open

          <div id="root" dangerouslySetInnerHTML={{ __html: content }} />
Severity: Minor
Found in app/react/App/Root.js by eslint

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

Prop type "object" is forbidden
Open

  loadingError: PropTypes.object,
Severity: Minor
Found in app/react/App/Root.js by eslint

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

Prop type "object" is forbidden
Open

  atomStoreData: PropTypes.object,
Severity: Minor
Found in app/react/App/Root.js by eslint

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

propType "routes" is not required, but has no corresponding defaultProps declaration.
Open

  routes: PropTypes.array,
Severity: Minor
Found in app/react/App/RouteHandler.js by eslint

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

Prop type "object" is forbidden
Open

  location: PropTypes.object,
Severity: Minor
Found in app/react/App/RouteHandler.js by eslint

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

Prop type "array" is forbidden
Open

  matches: PropTypes.array,
Severity: Minor
Found in app/react/App/RouteHandler.js by eslint

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

Prefer named exports.
Open

export default RouteHandler;
Severity: Minor
Found in app/react/App/RouteHandler.js by eslint

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

Export statements should appear at the end of the file
Open

export class SiteName extends Component {
Severity: Minor
Found in app/react/App/SiteName.js by eslint

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

Prop spreading is forbidden
Open

      <ShowIf {...props}>
Severity: Minor
Found in app/react/App/specs/ShowIf.spec.js by eslint

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

Severity
Category
Status
Source
Language