Skip to content

Commit

Permalink
chore(release) 0.4.0 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea authored and MarsiBarsi committed Sep 2, 2019
1 parent 42b6233 commit d368e6c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

<a name="0.4.0"></a>
# [0.4.0](https://github.com/TinkoffCreditSystems/linters/compare/v0.3.0...v0.4.0) (2019-09-02)

### Features

* bump dependencies ([940af6a](https://github.com/TinkoffCreditSystems/linters/pull/11/commits/940af6a))

<a name="0.3.0"></a>
# [0.3.0](https://github.com/TinkoffCreditSystems/linters/compare/v0.2.0...v0.3.0) (2019-02-04)

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": "@tinkoff/linters",
"version": "0.3.0",
"version": "0.4.0",
"description": "Linter configs and custom TSLint rules of Tinkoff",
"license": "Apache-2.0",
"scripts": {
Expand Down
4 changes: 1 addition & 3 deletions src/tinkoffConditionBreaksRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ const INDENT = ' ';

export class Rule extends Lint.Rules.AbstractRule {
static FAILURE_STRING = 'Expected new line between parts of ternary expression';
static WONT_FIX_FAILURE_STRING = `${
Rule.FAILURE_STRING
} (cannot be auto-fixed because of nesting)`;
static WONT_FIX_FAILURE_STRING = `${Rule.FAILURE_STRING} (cannot be auto-fixed because of nesting)`;

apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] {
const walker = new ConditionalBreaksWalker(sourceFile, this.getOptions());
Expand Down

0 comments on commit d368e6c

Please sign in to comment.