i18next/react-i18next

View on GitHub

Showing 34 of 34 total issues

Avoid too many return statements within this function.
Open

  return false;
Severity: Major
Found in src/utils.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

      if (!i18n.services.backendConnector.backend) return true;
    Severity: Major
    Found in src/utils.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

        if (loadNotPending(lng, ns) && (!fallbackLng || loadNotPending(lastLng, ns))) return true;
      Severity: Major
      Found in src/utils.js - About 30 mins to fix

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import React from 'react';
        Severity: Minor
        Found in src/context.js by eslint

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

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        const { createMacro } = require('babel-plugin-macros');
        Severity: Minor
        Found in icu.macro.js by eslint

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

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import { useContext } from 'react';
        Severity: Minor
        Found in src/useSSR.js by eslint

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

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import { createElement, useMemo } from 'react';
        Severity: Minor
        Found in src/I18nextProvider.js by eslint

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

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import { useTranslation } from './useTranslation';
        Severity: Minor
        Found in src/Translation.js by eslint

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

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import React from 'react';
        Severity: Minor
        Found in src/withSSR.js by eslint

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

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import { useState, useEffect, useContext, useRef } from 'react';
        Severity: Minor
        Found in src/useTranslation.js by eslint

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

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import React from 'react';
        Severity: Minor
        Found in src/withTranslation.js by eslint

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

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        export { Trans } from './Trans';
        Severity: Minor
        Found in src/index.js by eslint

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

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        export function warn(...args) {
        Severity: Minor
        Found in src/utils.js by eslint

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

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import React, { useContext } from 'react';
        Severity: Minor
        Found in src/Trans.js by eslint

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

        Severity
        Category
        Status
        Source
        Language