andreujuanc/CherryDb

View on GitHub
client/src/sync/ISync.ts

Summary

Maintainability
A
0 mins
Test Coverage

Don't use 'Function' as a type. Avoid using the Function type. Prefer a specific function type, like () => void.
Open

    OnSyncCompleted: Function;
Severity: Minor
Found in client/src/sync/ISync.ts by tslint

Rule: ban-types

Bans specific types from being used. Does not ban the corresponding runtime objects from being used.

Notes
  • TypeScript Only

Config

A list of ["regex", "optional explanation here"], which bans types that match regex

Examples
"ban-types": true,Object,Use {} instead.,String
Schema
{
  "type": "list",
  "listType": {
    "type": "array",
    "items": {
      "type": "string"
    },
    "minLength": 1,
    "maxLength": 2
  }
}

For more information see this page.

file should end with a newline
Open

}
Severity: Minor
Found in client/src/sync/ISync.ts by tslint

Rule: eofline

Ensures the file ends with a newline.

Fix for single-line files is not supported.

Rationale

It is a standard convention to end files with a newline.

Notes
  • Has Fix

Config

Not configurable.

Examples
"eofline": true

For more information see this page.

There are no issues that match your filters.

Category
Status