hummingbird-me/kitsu-web

View on GitHub
app/mixins/routes/cover-page.js

Summary

Maintainability
A
1 hr
Test Coverage
C
72%

Function activate has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  activate() {
    this._super(...arguments);
    this._handleScroll = () => { this.handleScroll(); };

    document.body.classList.add('cover-page');
Severity: Minor
Found in app/mixins/routes/cover-page.js - About 1 hr to fix

    Parsing error: Invalid ecmaVersion.
    Open

    import Mixin from '@ember/object/mixin';
    Severity: Minor
    Found in app/mixins/routes/cover-page.js by eslint

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

    There are no issues that match your filters.

    Category
    Status