cybertoothca/ember-data-bootstrap3-forms

View on GitHub
addon/components/twbs-errors-alert.js

Summary

Maintainability
A
1 hr
Test Coverage

Function errors has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    /*'model.errors.[]', 'model.errors.length', */ function () {
      const excludedFields = this.get('_excludesArray');
      if (isPresent(excludedFields)) {
        const filteredErrors = A();
        if (isPresent(this.get('model.errors'))) {
Severity: Minor
Found in addon/components/twbs-errors-alert.js - About 1 hr to fix

    Parsing error: Invalid ecmaVersion.
    Open

    import { A } from '@ember/array';

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

    There are no issues that match your filters.

    Category
    Status