Basic tslint rules, non-final list

This commit is contained in:
Dan Quirk 2015-06-25 16:24:02 -07:00
parent d695afa102
commit 82ecd5db9d
2 changed files with 26 additions and 1 deletions

View File

@ -33,7 +33,8 @@
"mocha": "latest",
"chai": "latest",
"browserify": "latest",
"istanbul": "latest"
"istanbul": "latest",
"tslint": "latest"
},
"scripts": {
"test": "jake runtests"

24
tslint.json Normal file
View File

@ -0,0 +1,24 @@
{
"rules": {
"class-name": true,
"comment-format": [true,
"check-space"
],
"curly": true,
"indent": true,
"no-trailing-comman": true,
"no-trailing-whitespace": true,
"no-unreachable": true,
"no-unused-variable": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"quotemark": true,
"semicolon": true,
"whitespace": [true,
"check-branch",
"check-operator",
"check-separator",
"check-type"
]
}
}