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

Commit

Permalink
Merge branch 'master' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Killian committed May 10, 2016
2 parents c641570 + 600e6da commit c476934
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Change Log
===

v3.10.0
---
* Stable release containing changes from the last dev release (v3.10.0-dev.0)

v3.10.0-dev.0
---
* [new-rule] `new-parens` rule (#1177)
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,8 @@ A sample configuration file with all options is available [here](https://github.
* `member-access` enforces using explicit visibility on class members
* `"check-accessor"` enforces explicit visibility on get/set accessors (can only be public)
* `"check-constructor"` enforces explicit visibility on constructors (can only be public)
* `member-ordering` enforces member ordering. Rule options:
* `public-before-private` All public members must be declared before private members.
* `static-before-instance` All static members must be declared before instance members.
* `variables-before-functions` All member variables need to be declared before member functions.
Member variables initialized to a function literal are treated as member functions.
* `member-ordering` enforces member ordering. The first option should be an object with an `order` key.
Values for `order` can be `fields-first`, `statics-first`, `instance-sandwich`, or a custom order.
* `new-parens` enforces parentheses when invoking a constructor via the new keyword.
* `no-angle-bracket-type-assertion` disallows usages of `<>` type assertions in favor of using the `as` keyword.
* `no-any` diallows usages of `any` as a type decoration.
Expand All @@ -235,6 +232,7 @@ A sample configuration file with all options is available [here](https://github.
* `no-construct` disallows access to the constructors of `String`, `Number`, and `Boolean`.
* `no-constructor-vars` disallows the `public` and `private` modifiers for constructor parameters.
* `no-debugger` disallows `debugger` statements.
* `no-default-export` disallows default exports in ES6-style modules. Use named exports instead.
* `no-duplicate-key` disallows duplicate keys in object literals.
* `no-duplicate-variable` disallows duplicate variable declarations in the same block scope.
* `no-empty` disallows empty blocks.
Expand Down
4 changes: 2 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ dependencies:
deployment:
npm-latest:
# match semver tag (e.g. 3.12.7)
tag: /\d\d?\.\d\d?\.\d\d?/
tag: /^\d\d?\.\d\d?\.\d\d?$/
owner: palantir
commands:
- ./scripts/npmPublish.sh latest
npm-next:
# match semver tag with dev prerelease tag (e.g. 3.12.7-dev.2)
tag: /\d\d?\.\d\d?\.\d\d?-dev\.\d\d?/
tag: /^\d\d?\.\d\d?\.\d\d?-dev\.\d\d?$/
owner: palantir
commands:
- ./scripts/npmPublish.sh next
5 changes: 2 additions & 3 deletions docs/sample.tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
"member-access": true,
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
{ "order": "fields-first" }
],
"new-parens": true,
"no-angle-bracket-type-assertion": true,
Expand All @@ -62,6 +60,7 @@
"no-construct": true,
"no-constructor-vars": true,
"no-debugger": true,
"no-default-export": true,
"no-duplicate-key": true,
"no-duplicate-variable": true,
"no-empty": true,
Expand Down

0 comments on commit c476934

Please sign in to comment.