hummingbird-me/kitsu-web

View on GitHub
app/routes/confirm-email.js

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Function beforeModel has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  beforeModel({ queryParams }) {
    const { token } = queryParams;
    return new RSVP.Promise((resolve, reject) => {
      get(this, 'ajax').request('/users?filter[self]=true', {
        headers: { Authorization: `Bearer ${token}` }
Severity: Minor
Found in app/routes/confirm-email.js - About 1 hr to fix

    Parsing error: Invalid ecmaVersion.
    Open

    import Route from '@ember/routing/route';
    Severity: Minor
    Found in app/routes/confirm-email.js by eslint

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

    There are no issues that match your filters.

    Category
    Status