huridocs/uwazi

View on GitHub
app/react/App/Provider.js

Summary

Maintainability
A
0 mins
Test Coverage
B
81%

Prop type "object" is forbidden
Open

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

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

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

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

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

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

import { Component, Children } from 'react';
Severity: Minor
Found in app/react/App/Provider.js by eslint

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

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

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

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

Prop type "object" is forbidden
Open

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

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

Prefer named exports.
Open

export default CustomProvider;
Severity: Minor
Found in app/react/App/Provider.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/

isRenderedFromServer should be placed after getInitialData
Open

  isRenderedFromServer() {
Severity: Minor
Found in app/react/App/Provider.js by eslint

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

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

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

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

Prop type "object" is forbidden
Open

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

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

There are no issues that match your filters.

Category
Status