huridocs/uwazi

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

Summary

Maintainability
A
0 mins
Test Coverage
F
37%

Prop type "object" is forbidden
Open

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

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

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

  content: PropTypes.string,
Severity: Minor
Found in app/react/App/Root.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 { config } from 'api/config';
Severity: Minor
Found in app/react/App/Root.js by eslint

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

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

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

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

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

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

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

Do not use Array index in keys
Open

            <script key={index} src={file} />
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

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

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

'children' PropType is defined but prop is never used
Open

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

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

propType "atomStoreData" is not required, but has no corresponding defaultProps declaration.
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/

Prefer named exports.
Open

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

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

Do not use Array index in keys
Open

      <link key={key} href={style} rel="stylesheet" type="text/css" />
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

      dangerouslySetInnerHTML={{ __html: reduxData.settings.collection.get('customCSS') }}
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

  head: 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

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

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

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

  reduxData: PropTypes.object,
Severity: Minor
Found in app/react/App/Root.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/Root.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/Root.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/Root.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/

Prop type "object" is forbidden
Open

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

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

propType "loadingError" is not required, but has no corresponding defaultProps declaration.
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/

There are no issues that match your filters.

Category
Status