Skip to content

Commit 82ecd5d

Browse files
committed
Basic tslint rules, non-final list
1 parent d695afa commit 82ecd5d

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"mocha": "latest",
3434
"chai": "latest",
3535
"browserify": "latest",
36-
"istanbul": "latest"
36+
"istanbul": "latest",
37+
"tslint": "latest"
3738
},
3839
"scripts": {
3940
"test": "jake runtests"

tslint.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"rules": {
3+
"class-name": true,
4+
"comment-format": [true,
5+
"check-space"
6+
],
7+
"curly": true,
8+
"indent": true,
9+
"no-trailing-comman": true,
10+
"no-trailing-whitespace": true,
11+
"no-unreachable": true,
12+
"no-unused-variable": true,
13+
"no-use-before-declare": true,
14+
"no-var-keyword": true,
15+
"quotemark": true,
16+
"semicolon": true,
17+
"whitespace": [true,
18+
"check-branch",
19+
"check-operator",
20+
"check-separator",
21+
"check-type"
22+
]
23+
}
24+
}

0 commit comments

Comments
 (0)