RuslanZavacky/ember-cli-ifa

View on GitHub
addon/services/asset-map.js

Summary

Maintainability
A
0 mins
Test Coverage

Replace 'map' with "map"
Open

  fullMap: computed('map', function() {
Severity: Minor
Found in addon/services/asset-map.js by eslint

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

Replace 'enabled' with "enabled"
Open

    const enabled = get(this, 'enabled');
Severity: Minor
Found in addon/services/asset-map.js by eslint

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

Replace 'map' with "map"
Open

    const map = get(this, 'map');
Severity: Minor
Found in addon/services/asset-map.js by eslint

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

Replace 'fullMap' with "fullMap"
Open

    const fullMap = get(this, 'fullMap') || {};
Severity: Minor
Found in addon/services/asset-map.js by eslint

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

Replace ⏎······(fullMap[name]·||·name)·:⏎····· with ·fullMap[name]·||·name·:
Open

    const assetName = enabled ?
Severity: Minor
Found in addon/services/asset-map.js by eslint

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

Replace 'prepend' with "prepend"
Open

    const prepend = get(this, 'prepend');
Severity: Minor
Found in addon/services/asset-map.js by eslint

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

Replace '/' with "/"
Open

  prepend: '/',
Severity: Minor
Found in addon/services/asset-map.js by eslint

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

Replace '@ember/object' with "@ember/object"
Open

import { computed, get } from '@ember/object';
Severity: Minor
Found in addon/services/asset-map.js by eslint

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

Replace '@ember/service' with "@ember/service"
Open

import Service from '@ember/service';
Severity: Minor
Found in addon/services/asset-map.js by eslint

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

There are no issues that match your filters.

Category
Status