addon/components/twbs-errors-alert.js
Function errors
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
/*'model.errors.[]', 'model.errors.length', */ function () {
const excludedFields = this.get('_excludesArray');
if (isPresent(excludedFields)) {
const filteredErrors = A();
if (isPresent(this.get('model.errors'))) {
Parsing error: Invalid ecmaVersion. Open
Open
import { A } from '@ember/array';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/