diff --git a/CHANGELOG.md b/CHANGELOG.md index ce21cbf741b..7cf7707f374 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/README.md b/README.md index 35fc869fee5..662d9c150e9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index 40ad22d92a6..0a5f8b5775a 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/src/linter.ts b/src/linter.ts index 3a0837d0e46..e522288f358 100644 --- a/src/linter.ts +++ b/src/linter.ts @@ -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; diff --git a/src/tslint-cli.ts b/src/tslint-cli.ts index dc722d1f9e0..c8f2dc3e9a6 100644 --- a/src/tslint-cli.ts +++ b/src/tslint-cli.ts @@ -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": {