cattr-app/frontend-application

View on GitHub
app/core/modules/Statuses/services/statuse.service.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 axios from '@/config/app';

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 axios from '@/config/app';

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 axios from '@/config/app';

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 axios from '@/config/app';

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 axios from '@/config/app';

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 axios from '@/config/app';

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

Replace ········return·axios.get('statuses/list' with ····return·axios.get("statuses/list"
Open

        return axios.get('statuses/list', config);

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

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

        return `statuses/show?id=${id}`;

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

Delete ··
Open

    }

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

Delete ··
Open

    }

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 axios from '@/config/app';

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

Delete ··
Open

    save(data, isNew = false) {

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

Delete ··
Open

    }

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

Replace ········return·axios.post(statuses/${isNew·?·'create'·:·'edit'with····return·axios.post(statuses/${isNew·?·"create"·:·"edit"
Open

        return axios.post(`statuses/${isNew ? 'create' : 'edit'}`, data);

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 axios from '@/config/app';

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 axios from '@/config/app';

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

Delete ··
Open

    }

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

Replace ········return·axios.post('statuses/remove' with ····return·axios.post("statuses/remove"
Open

        return axios.post('statuses/remove', { id });

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 axios from '@/config/app';

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

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

import axios from '@/config/app';

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

Delete ····
Open

        return axios.get(this.getItemRequestUri(id));

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

Replace ····return·axios.post('statuses/list' with return·axios.post("statuses/list"
Open

        return axios.post('statuses/list', filters, config);

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 axios from '@/config/app';

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 axios from '@/config/app';

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

Replace '@/config/app' with "@/config/app"
Open

import axios from '@/config/app';

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

Delete ··
Open

    getItem(id, filters = {}) {

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 axios from '@/config/app';

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 axios from '@/config/app';

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

Replace '@/services/resource.service' with "@/services/resource.service"
Open

import ResourceService from '@/services/resource.service';

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

Delete ··
Open

    getAll(config = {}) {

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

Delete ··
Open

    }

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

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

            data.active = true;

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 axios from '@/config/app';

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 axios from '@/config/app';

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

Delete ··
Open

    }

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 axios from '@/config/app';

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 axios from '@/config/app';

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 axios from '@/config/app';

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

Delete ··
Open

    getItemRequestUri(id) {

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

Replace ········if·(typeof·data.active·===·'undefined' with ····if·(typeof·data.active·===·"undefined"
Open

        if (typeof data.active === 'undefined') {

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

Delete ····
Open

        }

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

Replace ···· with ··
Open

    deleteItem(id) {

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

Replace ···· with ··
Open

    getWithFilters(filters, config = {}) {

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

There are no issues that match your filters.

Category
Status