cattr-app/frontend-application

View on GitHub
app/core/modules/Dashboard/policies/dashboard.policy.js

Summary

Maintainability
A
0 mins
Test Coverage

Delete ····
Open

        return (

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

Delete ··
Open

    }

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

Delete ··
Open

    static viewManualTime(user) {

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 { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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

Replace ············hasProjectRole(user,·'manager' with ······hasProjectRole(user,·"manager"
Open

            hasProjectRole(user, 'manager') ||

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 { hasRole, hasProjectRole } from '@/utils/user';

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

Replace ······hasRole(user,·'auditor' with hasRole(user,·"auditor"
Open

            hasRole(user, 'auditor') ||

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

Replace ········return·hasRole(user,·'admin' with ····return·hasRole(user,·"admin"
Open

        return hasRole(user, 'admin') || !!user.manual_time;

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 { hasRole, hasProjectRole } from '@/utils/user';

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

Replace ···· with ··
Open

    static viewTeamTab(user) {

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 { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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

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

import { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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

Replace ············hasProjectRole(user,·'auditor' with ······hasProjectRole(user,·"auditor"
Open

            hasProjectRole(user, 'auditor')

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 { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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

Replace '@/utils/user' with "@/utils/user"
Open

import { hasRole, hasProjectRole } from '@/utils/user';

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

Replace ······hasRole(user,·'admin' with hasRole(user,·"admin"
Open

            hasRole(user, 'admin') ||

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

Replace ······hasRole(user,·'manager' with hasRole(user,·"manager"
Open

            hasRole(user, 'manager') ||

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 { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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 { hasRole, hasProjectRole } from '@/utils/user';

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

There are no issues that match your filters.

Category
Status