Skip to content

Commit

Permalink
v0.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ajafff committed Jan 22, 2019
1 parent cc2e49b commit 5b204ec
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 10 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## v0.19.0

**Features:**

* new rule: `no-useless-try-catch`
* `no-useless-predicate`: detect comparing a literal type with itself
* `no-useless-predicate`: detect redundant uses of `key in obj` where `key` is known to always be present in `obj`

**Bugfixes:**

* `no-useless-predicate`: treat property access on index signatures as potentially `undefined`
* `no-useless-predicate`: don't report expressions as "always truthy" without `strictNullChecks`
* `no-useless-predicate`: avoid nested finding by reporting only the innermost finding

## v0.18.0

:warning: **Breaking Changes:**
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.19.0",
"version": "0.20.0",
"private": true,
"scripts": {
"clean": "rimraf \"{packages/*/{index,{src,language-service}/**/*,test/*.spec},scripts/!(last-travis-nightly)}.{js?(.map),d.ts}\"",
Expand All @@ -25,8 +25,8 @@
],
"dependencies": {
"@fimbul/disir": "^0.18.0",
"@fimbul/valtyr": "^0.18.0",
"@fimbul/wotan": "^0.18.0",
"@fimbul/valtyr": "^0.19.0",
"@fimbul/wotan": "^0.19.0",
"@octokit/rest": "^16.0.1",
"@types/cross-spawn": "^6.0.0",
"@types/github-url-to-object": "^4.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/heimdall/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fimbul/heimdall",
"version": "0.18.0",
"version": "0.19.0",
"description": "Wotan plugin to load and use TSLint rules and formatters",
"main": "src/index",
"types": "src/index",
Expand All @@ -26,7 +26,7 @@
"formatters"
],
"peerDependencies": {
"@fimbul/wotan": "^0.18.0"
"@fimbul/wotan": "^0.19.0"
},
"dependencies": {
"@fimbul/bifrost": "^0.18.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/mimir/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fimbul/mimir",
"version": "0.18.0",
"version": "0.19.0",
"description": "Core rules of the Fimbullinter project",
"main": "recommended.yaml",
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/valtyr/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fimbul/valtyr",
"version": "0.18.0",
"version": "0.19.0",
"description": "Wotan plugin to behave almost like TSLint",
"author": "Klaus Meinhardt",
"license": "Apache-2.0",
Expand Down Expand Up @@ -30,7 +30,7 @@
"resolve": "^1.5.0"
},
"peerDependencies": {
"@fimbul/wotan": "^0.18.0",
"@fimbul/wotan": "^0.19.0",
"typescript": ">= 3.0.1 || >= 3.3.0-dev || >= 3.4.0-dev"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/wotan/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fimbul/wotan",
"version": "0.18.0",
"version": "0.19.0",
"description": "Pluggable TypeScript and JavaScript linter",
"bin": "bin/main.js",
"publishConfig": {
Expand Down Expand Up @@ -44,7 +44,7 @@
"rimraf": "^2.6.2"
},
"dependencies": {
"@fimbul/mimir": "^0.18.0",
"@fimbul/mimir": "^0.19.0",
"@fimbul/ymir": "^0.18.0",
"bind-decorator": "^1.0.11",
"chalk": "^2.3.0",
Expand Down

0 comments on commit 5b204ec

Please sign in to comment.