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.x #263

Merged
merged 1 commit into from
Apr 1, 2017
Merged

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Mar 29, 2017

This Pull Request updates dependency tslint from version 4.5.1 to 5.0.0

Changelog

5.0.0 / 2017-03-29

  • Add `no-reference-import` to recommended.ts
  • readme.md: added list of CLI error codes
  • changelog: Add `default` as option to `severity`
  • Update README.md
  • Prepare v5.0.0 (#2426)
  • Clean up array-type and consider 'object' as a simple type (#2353)
  • Refactor no-duplicate-variable rule (#2354)
  • Clean up prefer-for-of rule implementation (#2348)
  • Remove support for typescript 2.0.10 (#2425)
  • Update recommended rules from latest (#2424)
  • no-unnecessary-qualifier: Stop using symbolsAreEqual (#2418)
  • Enable broken tests (#2423)
    Fixes #2405
    Fixes #2329
    Fixes #2404
  • Add support for default rule severity (#2416)
  • [breaking] Remove `createFix` and just use the Replacement(s) as the fix (#2403)
  • Fix broken migration link in docs (#2402)
    Closes #2364
  • Re-enable tests (#2406)
  • Refactor some rules (#2359)
    Refactored some of the rather simple rules to WalkContext or AbstractWalker.
    no-trailing-whitespace is the only rule where the logic changes: now it looks for trailing whitespace in the source text and iff there are lines found, it searches the AST for template spans and comments.
    [rule-change] no-trailing-whitespace now checks template strings by default. Use the new options ignore-template-strings to restore the old behavior.
    [new-rule-option] added ignore-template-strings to no-trailing-whitespace
    [enhancement] fixer of quotemark unescapes original quotemark (e.g. ''' -> "'")
  • Add fixer for eofline rule (#2393)
    Linebreak style is determined by the first line break in the file. If there is only one line, there will be no fix. Fixes: #2186. Also reorganized the test files.
    [new-fixer] `eofline`
  • Bugfix trailing-comma for new without parens (#2389)
    [bugfix] `trailing-comma` no longer crashes on new without parentheses (e.g. `new Foo`)
  • Add tslint-blueprint to README
  • Add snake case option to variable name rule (#2383)
    [new-rule-option] "allow-snake-case" option for `variable-name` rule
  • Refactor linebreak-style and add fixer (#2394)
  • Refactor variable-name rule (#2355)
  • Add regression test for invalid JSX (#2386)
    Fixes: #2330
    [no-log]
  • Bugfix and enhance alignRule (#2379)
  • Added missing apostrophes in completed-docs description (#2378)
  • Fix compile error (#2380)
  • Removed unnecessary space from link in readme (#2377)
  • member-access: Clean up and add "no-public" option. (#2247)
  • Add `prefer-template` rule (#2243)
  • Add `return-undefined` rule (#2251)
  • no-invalid-this: Convert to function (#2372)
  • Remove scanAllTokens and SkippableTokenAwareRuleWalker (#2370)
    • Remove deprecated function "scanAllTokens"
    • Remove SkippableTokenAwareRuleWalker too
  • Undo unnecessary change to test tslint.json (#2361)
  • Improve Curly Rule to allow no brackets same-line statements (#2334)
    • "ignore-same-line" option
  • Edit tslint.json (#2344)
  • Minor fix for prefer-const (#2343)
    Forgot to handle initialized parameters of constructors.
  • [Breaking change] Remove all use of the language service. Use only the Program. (#2235)
  • Convert 'no-reference' to use WalkContext (#2340)
  • Move @types to devDependencies (#2333)
  • Fix for rest parameters in `unified-signatures` (#2342)
  • Removed unused test utils (#2336)
  • [new-formatter] TAP formatter (#2325)
  • Rewrite prefer-const (#2219)
    [enhancement] show warnings for `var`
    [bugfix] correctly handle variables shadowed by parameters and catched exceptions
    [bugfix] don't warn if a variable in a for loop initializer can be const
    [bugfix] handle more cases in destructuring
    [bugfix] only fix initialized variables
    [new-rule-option] `{destructuring: "all"}` to only warn if all variables in a destructuring can be const
  • Extend cli options (#2322)
    [bugfix] exit with 0 on type check errors when `--force` is specified
    Fixes: #2087
    [bugfix] `--test` now correctly strips single quotes from patterns on windows
    [enhancement] `--test` can handle multiple paths at once
    [enhancement] added `-p` as shorthand for `--project` to be consistent with `tsc`
    Kind of fixes: #2291
    [enhancement] print error when `--type-check` is used without `--project`
    [enhancement] don't print stack trace on type check error
  • Rewrite semicolonRule (#2240)
    Simplify ASI checks for TypeAlias, import, export and debugger
    Simplify checks for semicolon
    [bugfix] Ignore comments when checking for unnecessary semicolon
    [bugfix] Don't report unnecessary semicolon when followed by regex literal
    [enhancement] New check for export statements
    [enhancement] Report unnecessary semicolons in classes and in statement position (for option "always"
    too)
    [enhancement] check for semicolon after method overload
    [enhancement] check for semicolon in type literals. To restore the old behaviour use the new options `ignore-type-literals`
    [new-rule-option] `ignore-type-literals` added to `semicolon`
  • Specify minimum version of typescript for tests (#2323)
  • Bugfix no-inferrable-types with readonly property (#2312)
    [bugfix] don't warn for inferrable type on readonly property
    Fixes: #2306
    [enhancement] `ignore-properties` option of `no-inferrable-types` now also ignores parameter properties
  • Rewrite no-unused-expression and remove no-unused-new (#2269)
    Integrate `no-unused-new` into this rule.
    [new-rule-option] `allow-new-side-effects` restores the old behaviour to allow `new` for side effects
    [bugfix] allow comma separated assignments
    Fixes: #2058
    [bugfix] allow indirect eval: `(0, eval)("");`
    [enhancement] checking for unused new can now use option `allow-fast-null-checks`
    Fixes: #1839
    [enhancement] find unused comma separated expressions in all locations of the code
    [enhancement] find unused expressions inside void expression
  • Rewrite and simplify trailing-comma (#2236)
  • Fix handling of comments in newline-before-return (#2321)
  • file-header fix for single-line comments (#2320)
  • Added link to yeoman generator-tslint in docs (#2318)
  • `use-isnan` should only apply to comparison operators (#2317)
  • Update README list of possible values for `extends` (#2316)
  • Bugfix prefer-function-over-method for overloads (#2315)
    [bugfix] exclude overload signatures from `prefer-function-over-method`
    This would have also fixed #2305
    Refactor the rule to use AbstractWalker and simplify the algorithm.
  • Remove method skip from RuleWalker (#2313)
  • `prefer-function-over-method` should ignore abstract methods (#2307)
    Abstract methods have no body, and never use `this`, so the `prefer-function-over-method` rule should not apply to them.
  • `array-type`: `undefined` and `never` now considered simple types (#1843)
  • Add `no-reference-import` rule (#2273)
  • Added an abstract OptionallyTypedRule (#2300)
  • Unified-signatures: When there are more than 2 overloads, include the line number of the other overload to be unified (#2270)
  • Fix arrow-parens with return type annotation (#2265)
    [bugfix] `arrow-parens` with option `ban-single-arg-parens` now correctly handles functions with return type annotation
    Fixes: #2237
  • Minor docs edit for typedef rule (#2301)
  • Add `no-unnecessary-callback-wrapper` rule (#2249)
  • no-unsafe-any: Clean up documentation and implementation (#2245)
  • only-arrow-functions: Allow functions that use 'this' somewhere in the body (#2229)
  • Restore old behaviour of text wrap in vscode (#2298)

@rarkins rarkins merged commit 5eda3a4 into master Apr 1, 2017
@rarkins rarkins deleted the renovate/tslint-5.x branch April 1, 2017 06:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.