Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Update dependency tslint to version 5.4.0 #304

Merged
merged 1 commit into from
May 31, 2017
Merged

Conversation

renovate-bot
Copy link
Contributor

This Pull Request updates dependency tslint from version 5.3.2 to 5.4.0

Changelog

5.4.0 / 2017-05-31

  • Prepare release 5.4.0 (#2849)
  • cyclomatic-complexity: Don't count empty switch cases (#2743)
  • no-floating-promises: Allow 'promise.catch()' (#2774)
  • prefer-object-spread: lint more locations, allow first parameter with side effects (#2828)
    [bugfix] `prefer-object-spread`: allow constructor, function and method calls as first argument to `Object.assign`
    [enhancement] `prefer-object-spread`: lint more locations where return value is used.
  • ordered-imports: Convert to AbstractWalker (#2711)
  • strict-type-predicates: warn if strictNullChecks is not enabled (#2786)
  • ban: Refactor and add new option format (#2547)
  • Minor README edits
  • Rewrite and simplify comment-format (#2616)
  • no-duplicate-variable: handle parameters (#2597)
    [new-rule-option] `no-duplicate-variable` adds `check-parameters` to check if variable has the same name as a parameter
  • no-unbound-method: Skip past casts and parentheses (#2838)
  • indent: Simplify and avoid scanning (#2826)
    [bugfix] `indent` now checks indentation of expressions inside template strings
  • no-unsafe-any: Allow `declare global {}` (#2839)
  • curly: Add "as-needed" option (#2842)
  • no-unsafe-any: Allow to switch on a value of type `any` (#2836)
  • no-unbound-method: Allow use as condition (#2834)
  • no-unsafe-any: Fix bug for `continue` with label (#2830)
  • Update Yarn version in README
  • space-before-function-paren: Ignore for async arrow function with no parentheses (#2833)
  • Add 'binary-expression-operand-order' rule (#2805)
  • import-spacing: Convert to AbstractWalker (#2706)
  • completed-docs: Fix markdown formatting (#2841)
  • Enable 'no-unnecessary-type-assertion' rule (#2670)
  • Update lockfile (#2847)
  • Refactor and fix no-inferred-empty-object-type (#2762)
    [bugfix] no-inferred-empty-object-type: fix stack overflow
    [develop]: rule tests now support imports of node_modules
  • Add 'switch-final-break' rule (#2804)
  • typedef-whitespace: Extract `getOptionType` helper (#2807)
  • runner.ts: Break into separate functions (#2572)
  • Add `use-default-type-parameter` rule (#2253)
  • Enable "no-unnecessary-callback-wrapper" (#2744)
  • indent: Convert to function (#2709)
  • Use commander instead of optimist for CLI arguments (#2689)
  • Add noEmit to compilerOptions (#2823)
  • no-parameter-properties: Rewrite to walker function (#2663)
    [no-log] just refactoring
  • strict-boolean-expressions: new option allow-boolean-or-undefined (#2820)
    [new-rule-options] `strict-boolean-expressions` adds `allow-boolean-or-undefined`
  • strict-boolean-expressions: Allow 'any', and 'true' and 'false' literal types (#2758)
    [enhancement] `strict-boolean-expression`: Allow `any`, and `true` and `false` literal types
  • --test: allow passing path to tslint.json (#2784)
  • Fix issue with case sensitivity of noUnusedVariable rule on Windows (#2819)
    When TSLint is being used to provide as-you-type linting as in Angular
    IDE, incorrect configuration of program created in
    makeUnusedCheckedProgram function is causing whole functionality to blow
    up. The core of the issue is that SourceFiles are being assigned case
    sensitive path when program is recreated for TSLint validation, which
    later causes that wrong path to stick and file not found problems appear
    in whole IDE.
  • Enable typed rules with --project (#2773)
    [enhancement] `--project` (or `-p`) enables rules that require the type checker. `--type-check` only checks for errors before linting is no longer required
  • object-literal-shorthand: Refactor, fix and add fixer for methods (#2558)
    [new-fixer] `object-literal-shorthand` can fix longhand methods
    [bugfix] `object-literal-shorthand`: fix suggestion for generator functions
    [enhancement] `object-literal-shorthand` handles async functions correctly
  • semicolon: split walker implementation, make "never" spec compliant (#2655)
    Separate the implementations of "never" and "always", because "never" became a little more complex.
    [enhancement] `semicolon`: option `"never"` is now spec compliant
    [bugfix] `semicolon`: don't warn about unnecesary semicolon when it is actually needed, e.g. when followed by type assertion or template string
    Ref: Emit issue with member access dot operator and parentheses usually in conjunction with type assertion microsoft/TypeScript#15444
  • Simplify no-object-literal-type-assertion (#2659)
    [no-log] just refactoring
  • align: exclude SemicolonClassElement (#2668)
    [bugfix] `align` with option `"members"`: don't check semicolons in classes
  • deprecation: Rewrite and enhance (#2748)
    Rewrite to walker function.
    Use TypeScript's JsDoc parser
    [enhancement] `deprecation`: error message includes deprecation text if available
  • Clean up combineCodeTextAndErrorLines (#2745)
  • Enable "no-inferred-empty-object-type" (#2742)
  • [docs] fixed invalid template in noConsecutiveBlankLines rule (#2801)
    The current docs do not make sense because the values were not
    replaced, see
    https://palantir.github.io/tslint/rules/no-consecutive-blank-lines/
  • no-unbound-method: refactor and add option "ignore-static" (#2751)
    [new-rule-option] `no-unbound-method` add option `"ignore-static"`
    Fixes: #2651
  • Update dependencies, remove disables, fix typescript@next (#2815)
    Update dependencies
    Remove unused disable comments
    Fix CI with typescript@next (pos and end of sourceFile.typeReferenceDirectives[n] changed)
  • Fixes `not a directory` error (#2813)

@renovate-bot renovate-bot merged commit 3eb1a4d into master May 31, 2017
@renovate-bot renovate-bot deleted the renovate/tslint-5.x branch May 31, 2017 23:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no-unbound-method should (optionally) ignore static methods
1 participant