diff --git a/package.json b/package.json index d6a8f538b78..82ab734d6f1 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,8 @@ "mocha": "latest", "chai": "latest", "browserify": "latest", - "istanbul": "latest" + "istanbul": "latest", + "tslint": "latest" }, "scripts": { "test": "jake runtests" diff --git a/tslint.json b/tslint.json new file mode 100644 index 00000000000..d7bdef8cc87 --- /dev/null +++ b/tslint.json @@ -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" + ] + } +} \ No newline at end of file