fix(lint): enforce that module-private members have @internal.

This is needed to prevent leaking internal APIs to users via our published .d.ts typings.
Fixes #4645

Closes #4989
This commit is contained in:
Alex Eagle
2015-10-28 15:04:55 -07:00
committed by Alex Eagle
parent 44188b9072
commit 098201d0b8
10 changed files with 55 additions and 1 deletions

View File

@ -294,6 +294,7 @@ gulp.task('lint', ['build.tools'], function() {
// https://github.com/palantir/tslint#supported-rules
var tslintConfig = {
"rules": {
"requireInternalWithUnderscore": true,
"requireParameterType": true,
"requireReturnType": true,
"semicolon": true,