Skip to content

Commit

Permalink
Updated documentation and sample with info for the new rule
Browse files Browse the repository at this point in the history
  • Loading branch information
DickvdBrink committed Aug 27, 2014
1 parent da4bd7b commit 68f432b
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 @@ -129,6 +129,7 @@ A sample configuration file with all options is available [here](https://github.
* `no-console` disallows access to the specified functions on `console`. Rule options are functions to ban on the console variable.
* `no-consecutive-blank-lines` disallows having more than one blank line in a row in a file
* `no-construct` disallows access to the constructors of `String`, `Number`, and `Boolean`.
* `no-constructor-variable-declarations` disallows the `public` and `private` modifiers for constructor parameters.
* `no-debugger` disallows `debugger` statements.
* `no-duplicate-key` disallows duplicate keys in object literals.
* `no-duplicate-variable` disallows duplicate variable declarations.
Expand Down
1 change: 1 addition & 0 deletions docs/sample.tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"trace"
],
"no-construct": true,
"no-constructor-variable-declarations": true,
"no-debugger": true,
"no-duplicate-key": true,
"no-duplicate-variable": true,
Expand Down

0 comments on commit 68f432b

Please sign in to comment.