Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Commit

Permalink
Added class-member-no-default-access to README and tslint.json sample
Browse files Browse the repository at this point in the history
  • Loading branch information
meros committed Jun 15, 2015
1 parent c69c5ff commit effa7a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
1 change: 1 addition & 0 deletions docs/sample.tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"arguments",
"statements"],
"ban": false,
"class-member-no-default-access": true,
"class-name": true,
"comment-format": [true,
"check-space",
Expand Down

0 comments on commit effa7a8

Please sign in to comment.