added tslint support

This commit is contained in:
Dolan
2017-03-07 22:56:59 +00:00
parent 0e9301c0b5
commit f5de5fef4d
2 changed files with 38 additions and 1 deletions

35
ts/tslint.json Normal file
View File

@ -0,0 +1,35 @@
{
"extends": "tslint:latest",
"rules": {
"curly": true,
"one-variable-per-declaration": [
true
],
"no-any": true,
"no-consecutive-blank-lines": [
true
],
"no-require-imports": true,
"member-access": [
true
],
"indent": [
true,
"spaces"
],
"object-literal-sort-keys": false,
"object-literal-shorthand": false,
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration"
],
"max-line-length": [
false
],
"max-classes-per-file": [
false
]
}
}