hummingbird-me/kitsu-web

View on GitHub
mirage/config.js

Summary

Maintainability
A
1 hr
Test Coverage

Function _defineRoutes has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function _defineRoutes(server) {
  server.passthrough('/write-coverage');

  // authentication
  server.post('/api/oauth/token', { access_token: 'it is a secret, shh' });
Severity: Minor
Found in mirage/config.js - About 1 hr to fix

    Parsing error: Invalid ecmaVersion.
    Open

    /* eslint-disable no-param-reassign */
    Severity: Minor
    Found in mirage/config.js by eslint

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

    There are no issues that match your filters.

    Category
    Status