cattr-app/frontend-application

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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.js by eslint

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

Delete ··
Open

    return str.charAt(0).toUpperCase() + str.slice(1);
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.js by eslint

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

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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.js by eslint

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

Delete ··
Open

    let initials = names[0].substring(0, 1).toUpperCase();
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.js by eslint

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

Delete ··
Open

    }
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.js by eslint

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

Delete ··
Open

    if (names.length > 1) {
Severity: Minor
Found in app/core/utils/string.js by eslint

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

Delete ····
Open

        initials += names[names.length - 1].substring(0, 1).toUpperCase();
Severity: Minor
Found in app/core/utils/string.js by eslint

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

Replace ··const·names·=·str.split('·' with const·names·=·str.split("·"
Open

    const names = str.split(' ');
Severity: Minor
Found in app/core/utils/string.js by eslint

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

Delete ··
Open

    return initials;
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.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

export function getInitials(str) {
Severity: Minor
Found in app/core/utils/string.js by eslint

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

There are no issues that match your filters.

Category
Status