@sophonjs/config-tslint

1.1.2 • Public • Published

@sophonjs/config-tslint

Common linting configuration for SophonJS libraries.

Tool: TSLint

Supported Version: ^5.12.0

Exposed CLI commands:

  • sophonjs-config-tslint
  • sophonjs-config-tslint-fix
  • sophonjs-config-lint
  • sophonjs-config-lint-fix

Usage

Add tslint.json:

{
  "extends": "@sophonjs/config-tslint"
}

Use CLI commands above in package.json:

  "scripts": {
    "tslint": "sophonjs-config-tslint",
    "tslint-fix": "sophonjs-config-tslint-fix",
    "lint": "sophonjs-config-lint",
    "lint-fix": "sophonjs-config-lint-fix"
  }

Installation

This package requires typestrict to be installed.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @sophonjs/config-tslint

      Weekly Downloads

      0

      Version

      1.1.2

      License

      MIT

      Unpacked Size

      2.09 kB

      Total Files

      7

      Last publish

      Collaborators

      • superstring