cattr-app/frontend-application

View on GitHub
app/core/config/app.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 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.js by eslint

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

Replace 'axios' with "axios"
Open

import axios from 'axios';
Severity: Minor
Found in app/core/config/app.js by eslint

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

Replace 'development' with "development"
Open

if (process.env.NODE_ENV === 'development') {
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.js by eslint

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

Replace 'X-CATTR-VERSION' with "X-CATTR-VERSION"
Open

axios.defaults.headers.common['X-CATTR-VERSION'] = process.env.VUE_APP_VERSION;
Severity: Minor
Found in app/core/config/app.js by eslint

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

Delete ··
Open

    console.log(process.env);
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.js by eslint

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

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

import axios from 'axios';
Severity: Minor
Found in app/core/config/app.js by eslint

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

Replace 'X-REQUESTED-WITH']·=·'XMLHttpRequest' with "X-REQUESTED-WITH"]·=·"XMLHttpRequest"
Open

axios.defaults.headers.common['X-REQUESTED-WITH'] = 'XMLHttpRequest';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.js by eslint

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

Replace '@/helpers/httpInterceptor' with "@/helpers/httpInterceptor"
Open

import httpInterceptor from '@/helpers/httpInterceptor';
Severity: Minor
Found in app/core/config/app.js by eslint

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

Replace 'X-CATTR-CLIENT' with "X-CATTR-CLIENT"
Open

axios.defaults.headers.common['X-CATTR-CLIENT'] = window.location.host;
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.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 axios from 'axios';
Severity: Minor
Found in app/core/config/app.js by eslint

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

Replace ··(process.env.VUE_APP_API_URL·!==·'null'·?·process.env.VUE_APP_API_URL·:·${window.location.origin}/api)·+·'/' with (process.env.VUE_APP_API_URL·!==·"null"⏎····?·process.env.VUE_APP_API_URL⏎····:·${window.location.origin}/api)·+·"/"
Open

    (process.env.VUE_APP_API_URL !== 'null' ? process.env.VUE_APP_API_URL : `${window.location.origin}/api`) + '/';
Severity: Minor
Found in app/core/config/app.js by eslint

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

There are no issues that match your filters.

Category
Status