cattr-app/frontend-application

View on GitHub
app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.js by eslint

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');
Severity: Minor
Found in app/core/policies/user.policy.js by eslint

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

Delete ··
Open

    }
Severity: Minor
Found in app/core/policies/user.policy.js by eslint

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');
Severity: Minor
Found in app/core/policies/user.policy.js by eslint

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');
Severity: Minor
Found in app/core/policies/user.policy.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 { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.js by eslint

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

Delete ··
Open

    }
Severity: Minor
Found in app/core/policies/user.policy.js by eslint

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

Delete ··
Open

    }
Severity: Minor
Found in app/core/policies/user.policy.js by eslint

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

Delete ··
Open

    static create(user) {
Severity: Minor
Found in app/core/policies/user.policy.js by eslint

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

Replace ···· with ··
Open

    static viewAny(user) {
Severity: Minor
Found in app/core/policies/user.policy.js by eslint

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

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

import { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.js by eslint

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

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

import { hasRole } from '@/utils/user';
Severity: Minor
Found in app/core/policies/user.policy.js by eslint

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

Delete ··
Open

    static update(user) {
Severity: Minor
Found in app/core/policies/user.policy.js by eslint

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

There are no issues that match your filters.

Category
Status