e-cloud/copyrightizen

View on GitHub
lib/renderer/js-renderer.ts

Summary

Maintainability
A
0 mins
Test Coverage

Multiple imports from '../util' can be combined into one.
Open

import { blockCommentRegexp } from '../util'
Severity: Minor
Found in lib/renderer/js-renderer.ts by tslint

Rule: no-duplicate-imports

Disallows multiple import statements from the same module.

Rationale

Using a single import statement per module will make the code clearer because you can see everything being imported from that module on one line.

Config

"allow-namespace-imports" allows you to import namespaces on separate lines.

Examples
"no-duplicate-imports": true,[object Object]
Schema
{
  "type": "object",
  "properties": {
    "allow-namespace-imports": {
      "type": "boolean"
    }
  }
}

For more information see this page.

There are no issues that match your filters.

Category
Status