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

Commit

Permalink
Prepare version 4.0.2 (#1778)
Browse files Browse the repository at this point in the history
  • Loading branch information
nchen63 authored Nov 23, 2016
1 parent 3531563 commit 750f7c5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
Change Log
===

v4.0.2
---
* [enhancement] Don't exit when a rule can't be found. Print as a warning instead (#1771)
* [bugfix] Don't flag a property named as empty string as not needing quotes in an object literal (#1762)
* [bugfix] Report correct number of fixes done by --fix (#1767)
* [bugfix] Allow 3rd party apps to see exception when the config is invalid (#1764)
* [bugfix] Fix false positives and exceptions in `prefer-for-of` (#1758)
* [bugfix] Fix `adjacent-overload-signatures` false positive when a static function has the same name (#1772)

Thanks to our contributors!
* @gustavderdrache

v4.0.1
---
* [bugfix] Removed `no-unused-variable` rule from recommended config, as it was causing spurious deprecation warnings.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Options:
```
-c, --config configuration file
-e, --exclude exclude globs from path expansion
--fix fixes linting errors for select rules (his may overwrite linted files)
--fix fixes linting errors for select rules (this may overwrite linted files)
--force return status code 0 even if there are lint errors
-h, --help display detailed help
-i, --init generate a tslint.json config file in the current working directory
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.0.1",
"version": "4.0.2",
"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 @@ -41,7 +41,7 @@ import { arrayify, dedent } from "./utils";
* Linter that can lint multiple files in consecutive runs.
*/
class Linter {
public static VERSION = "4.0.1";
public static VERSION = "4.0.2";

public static findConfiguration = findConfiguration;
public static findConfigurationPath = findConfigurationPath;
Expand Down
2 changes: 1 addition & 1 deletion src/tslint-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ let processed = optimist
type: "string",
},
"fix": {
describe: "Fixes linting errors for select rules. This may overwrite linted files",
describe: "fixes linting errors for select rules (this may overwrite linted files)",
type: "boolean",
},
"force": {
Expand Down

0 comments on commit 750f7c5

Please sign in to comment.