cattr-app/frontend-application

View on GitHub
app/core/i18n/index.js

Summary

Maintainability
A
0 mins
Test Coverage

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Delete ··
Open

    });
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Delete ··
Open

    en: {
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ········validation:·veeValidateRu.messages, with ····validation:·veeValidateRu.messages
Open

        validation: veeValidateRu.messages,
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ····ru:·require('./locales/ru'), with ··ru:·require("./locales/ru")
Open

    ru: require('./locales/ru'),
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ········ with ····
Open

        merge(pluralizationRules, m.getPluralizationRules());
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ····validation:·veeValidateEn.messages, with validation:·veeValidateEn.messages
Open

        validation: veeValidateEn.messages,
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Delete ··
Open

    ru: {
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace 'vue' with "vue"
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace '@/moduleLoader' with "@/moduleLoader"
Open

import { getModuleList, ModuleLoaderInterceptor } from '@/moduleLoader';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ··const·rootDomain·=·location.hostname.split('.').reverse().splice(0,·2).reverse().join('.' with const·rootDomain·=·location.hostname⏎····.split(".")⏎····.reverse()⏎····.splice(0,·2)⏎····.reverse()⏎····.join("."
Open

    const rootDomain = location.hostname.split('.').reverse().splice(0, 2).reverse().join('.');
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Delete ··
Open

    const modules = Object.values(getModuleList()).map(i => {
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Delete ··
Open

    });
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ········ with ····
Open

        merge(messages, moduleMessages);
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Delete ··
Open

    messages,
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace '@sentry/vue' with "@sentry/vue"
Open

import * as Sentry from '@sentry/vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Delete ··
Open

    locale: locale,
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ····en:·require('./locales/en' with ··en:·require("./locales/en"
Open

    en: require('./locales/en'),
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Delete ····
Open

        return i.moduleInstance;
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace 'vee-validate/dist/locale/en.json' with "vee-validate/dist/locale/en.json"
Open

import veeValidateEn from 'vee-validate/dist/locale/en.json';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Delete ····
Open

        const moduleMessages = m.getLocalizationData();
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace 'vee-validate/dist/locale/ru.json' with "vee-validate/dist/locale/ru.json"
Open

import veeValidateRu from 'vee-validate/dist/locale/ru.json';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ···· with ··
Open

    modules.forEach(m => {
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace 'moment' with "moment"
Open

import moment from 'moment';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace 'locale' with "locale"
Open

Sentry.setTag('locale', locale);
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ········ with ····
Open

        ? navigator.language.substring(0, 2).toLowerCase()
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace 'loaded' with "loaded"
Open

ModuleLoaderInterceptor.on('loaded', () => {
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ··const·v·=·document.cookie.match('(^|;)·?lang=([^;]*)(;|$)' with const·v·=·document.cookie.match("(^|;)·?lang=([^;]*)(;|$)"
Open

    const v = document.cookie.match('(^|;) ?lang=([^;]*)(;|$)');
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Delete ··
Open

    return v ? v[2] : null;
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ···· with ··
Open

    },
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace 'lodash/merge' with "lodash/merge"
Open

import merge from 'lodash/merge';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace './pluralizationRules' with "./pluralizationRules"
Open

merge(pluralizationRules, require('./pluralizationRules'));
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Definition for rule 'vue/attributes-order' was not found
Open

import Vue from 'vue';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ··return·typeof·navigator.language·!==·'undefined' with return·typeof·navigator.language·!==·"undefined"
Open

    return typeof navigator.language !== 'undefined' && navigator.language.length
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ····fallbackLocale:·'en' with ··fallbackLocale:·"en"
Open

    fallbackLocale: 'en',
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Delete ··
Open

    silentFallbackWarn: true,
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ····pluralizationRules, with ··pluralizationRules
Open

    pluralizationRules,
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ····document.cookie·=·'lang='·+·lang·+·';·domain=' with ··document.cookie·=·"lang="·+·lang·+·";·domain="
Open

    document.cookie = 'lang=' + lang + '; domain=' + rootDomain;
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace 'vue-i18n' with "vue-i18n"
Open

import VueI18n from 'vue-i18n';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ····:·'en' with :·"en"
Open

        : 'en';
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

Replace ····}, with ··}
Open

    },
Severity: Minor
Found in app/core/i18n/index.js by eslint

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

There are no issues that match your filters.

Category
Status