cattr-app/frontend-application

View on GitHub
app/core/utils/avatar.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

const backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#CDDC39' with "#CDDC39"
Open

    '#CDDC39',
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#FF9800' with "#FF9800"
Open

    '#FF9800',
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ····/*·'#FFEB3B'·,·*/·'#FFC107' with ··/*·'#FFEB3B'·,·*/·"#FFC107"
Open

    /* '#FFEB3B' , */ '#FFC107',
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Delete ··
Open

    return backgroundColors[seed % backgroundColors.length];
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#607D8B', with "#607D8B"
Open

    '#607D8B',
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#673AB7' with "#673AB7"
Open

    '#673AB7',
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#9E9E9E' with "#9E9E9E"
Open

    '#9E9E9E',
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#3F51B5' with "#3F51B5"
Open

    '#3F51B5',
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#8BC34A' with "#8BC34A"
Open

    '#8BC34A',
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#03A9F4' with "#03A9F4"
Open

    '#03A9F4',
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#9C27B0' with "#9C27B0"
Open

    '#9C27B0',
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ····'#FF4081' with ··"#FF4081"
Open

    '#FF4081',
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ····'#795548' with ··"#795548"
Open

    '#795548',
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#2196F3' with "#2196F3"
Open

    '#2196F3',
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#00BCD4' with "#00BCD4"
Open

    '#00BCD4',
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#4CAF50' with "#4CAF50"
Open

    '#4CAF50',
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#FF5722' with "#FF5722"
Open

    '#FF5722',
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

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

const backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ··'#F44336' with "#F44336"
Open

    '#F44336',
Severity: Minor
Found in app/core/utils/avatar.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 backgroundColors = [
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

Replace ····'#009688' with ··"#009688"
Open

    '#009688',
Severity: Minor
Found in app/core/utils/avatar.js by eslint

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

There are no issues that match your filters.

Category
Status