tslint-sitepen

5.0.0 • Public • Published

SitePen TSLint Rules

A collection of TSLint rules used on SitePen projects

Linting Files

tslint.json

These are the standard linting rules we use on TypeScript projects

tslint-dojo1.json

These rules are used when writing Dojo 1 projects in TypeScript

Usage

TSLint has a great reference for creating Sharable Configuration and Rules

Here's a quick start:

npm install tslint tslint-sitepen --save-dev

create a tslint.json file that extends from tslint-sitepen and add your own rules

{
    "extends": "tslint-sitepen",
    "rules": {
        "no-addition": true
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i tslint-sitepen

Weekly Downloads

7

Version

5.0.0

License

MPL-2.0

Unpacked Size

20.6 kB

Total Files

7

Last publish

Collaborators

  • devpaul