diff --git a/README.md b/README.md index 3d72aece360..17e2c985849 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,7 @@ A sample configuration file with all options is available [here](https://github. * `"arguments"` checks alignment of function call arguments. * `"statements"` checks alignment of statements. * `ban` bans the use of specific functions. Options are ["object", "function"] pairs that ban the use of object.function() +* `class-member-no-default-access` enforces using explicit visibility on class members * `class-name` enforces PascalCased class and interface names. * `comment-format` enforces rules for single-line comments. Rule options: * `"check-space"` enforces the rule that all single-line comments must begin with a space, as in `// comment` diff --git a/docs/sample.tslint.json b/docs/sample.tslint.json index 73aa8f9607c..a8501fbc9d9 100644 --- a/docs/sample.tslint.json +++ b/docs/sample.tslint.json @@ -5,6 +5,7 @@ "arguments", "statements"], "ban": false, + "class-member-no-default-access": true, "class-name": true, "comment-format": [true, "check-space",