umts/pvta-multiplatform

View on GitHub
src/providers/alert.service.ts

Summary

Maintainability
A
0 mins
Test Coverage

import with explicit side-effect
Open

import 'rxjs/add/operator/toPromise';
Severity: Minor
Found in src/providers/alert.service.ts by tslint

Rule: no-import-side-effect

Avoid import statements with side-effect.

Rationale

Imports with side effects may have behavior which is hard for static verification.

Config

One argument may be optionally provided:

  • ignore-module allows to specify a regex and ignore modules which it matches.
Examples
"no-import-side-effect": true
"no-import-side-effect": true,[object Object]
Schema
{
  "items": {
    "properties": {
      "ignore-module": {
        "type": "string"
      }
    },
    "type": "object"
  },
  "maxLength": 1,
  "minLength": 0,
  "type": "array"
}

For more information see this page.

There are no issues that match your filters.

Category
Status