cattr-app/frontend-application

View on GitHub
app/core/store/modules/lang.js

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

        // dk: 'Danish', TODO Currently disabled because we dont have DK translations
Severity: Minor
Found in app/core/store/modules/lang.js by fixme

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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

Delete ····
Open

        // dk: 'Danish', TODO Currently disabled because we dont have DK translations
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

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

        en: 'English',
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

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

    },
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

Delete ··
Open

    getters,
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

Replace ··langList:·s·=>·s.langList, with langList:·s·=>·s.langList
Open

    langList: s => s.langList,
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

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

        s.langList[code] = label;
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

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

    },
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

Replace ········ru:·'Русский', with ····ru:·"Русский"
Open

        ru: 'Русский',
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

Delete ··
Open

    setLang({ commit }, { code, label }) {
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

Replace ··actions, with actions
Open

    actions,
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

Delete ··
Open

    langList: {
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

Delete ··
Open

    state,
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

Delete ··
Open

    mutations,
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

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

    },
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

Delete ··
Open

    lang(s, { code, label }) {
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

Replace ····commit('lang' with commit("lang"
Open

        commit('lang', { code, label });
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

Delete ··
Open

    /*langList: s => Object.keys(s.langList).map(p => ({
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.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

const state = {
Severity: Minor
Found in app/core/store/modules/lang.js by eslint

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

There are no issues that match your filters.

Category
Status