Skip to content

Commit

Permalink
Prepare release v5.0.0-dev.0 (palantir#2297)
Browse files Browse the repository at this point in the history
  • Loading branch information
adidahiya authored Mar 4, 2017
1 parent 041f297 commit a9b80ab
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 26 deletions.
56 changes: 32 additions & 24 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,54 @@
Change Log
===

<!--
v5.0.0-dev.0
---

- Include the current (incomplete) set of changes for v5.0.0

v5.0.0
---

* **BREAKING CHANGES**
* The severity level is now configurable, and defaults to severity "error"
* The following formatters have change output:
- **BREAKING CHANGES**
- The severity level of rules is now configurable and defaults to severity "error"
- The following formatters have changed their outputs:
- msbuildFormatter - default was "warning"; it is now "error"
- pmdFormatter - default was priority 1; it is now "error" (priority 3). If set to "warning", it will output priority 4
* [enhancement] Enable WARN with new config file format (#629, #345)
* Valid values for `severity`: "error|warn|warning|none|off"
* Old style
* ```{
- [enhancement] Enable WARN with new config file format (#629, #345)
- Valid values for `severity`: "error|warn|warning|none|off"
- Old style:

```json
{
"extends": "tslint:latest",
"rules": {
"callable-types": true
"callable-types": true
}
}``
* New style, with `interface-name` generating warnings, and passing options to `max-line-length`
* ``` {
}
```

- New style, with `interface-name` generating warnings, and passing options to `max-line-length`:

```json
{
"extends": "tslint:latest",
"rules": {
"callable-types": true,
"interface-name": {
"severity": "warn"
},
"max-line-length": {
"options": 140,
"severity": "warning"
}
"callable-types": true,
"interface-name": {
"severity": "warn"
},
"max-line-length": {
"options": 140,
"severity": "warning"
}
}
}``
-->
}
```

v4.5.1-dev.0
---

* Include latest v4.5.1 changes
- Include latest v4.5.1 changes

v4.5.1
---
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tslint",
"version": "4.5.1-dev.0",
"version": "5.0.0-dev.0",
"description": "An extensible static analysis linter for the TypeScript language",
"bin": {
"tslint": "./bin/tslint"
Expand Down
2 changes: 1 addition & 1 deletion src/linter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import { arrayify, dedent } from "./utils";
* Linter that can lint multiple files in consecutive runs.
*/
class Linter {
public static VERSION = "4.5.1-dev.0";
public static VERSION = "5.0.0-dev.0";

public static findConfiguration = findConfiguration;
public static findConfigurationPath = findConfigurationPath;
Expand Down

0 comments on commit a9b80ab

Please sign in to comment.