Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tslint

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint - npm Package Versions

1
19

4.4.2

Diff

Changelog

Source

v4.4.2

  • [bugfix] whitespace rule caused false positive on EOF (#2131)
  • [bugfix] WebStorm fails because json formatter parameter has extra space (#2132)
palantir
published 4.4.1 •

Changelog

Source

v4.4.1

  • [bugfix] errant space in recommended ruleset (couldn't find no-misused-new)
palantir
published 4.4.0 •

Changelog

Source

v4.4.0

  • [new-rule] arrow-return-shorthand (#1972)
  • [new-rule] no-unbound-method (#2089)
  • [new-rule] no-boolean-literal-compare (#2013)
  • [new-rule] no-unsafe-any (#2047)
  • [new-rule] no-unnecessary-qualifier (#2008)
  • [new-rule] no-unnecessary-initializer (#2106)
  • [new-rule] await-promise (#2102)
  • [new-rule] no-floating-promises (#1632)
  • [new-rule] strict-type-predicates (#2046)
  • [new-rule] no-misused-new (#1963)
  • [new-rule] prefer-method-signature (#2028)
  • [new-rule] prefer-function-over-method (#2037)
  • [new-rule-option] allow-fast-null-checks added to no-unused-expression (#1638)
  • [new-rule-option] comment-format-rule adds ignore-words and ignore-pattern options (#1757)
  • [new-rule-option] whitespace adds check-preblock option (#2002)
  • [new-rule-option] strict-boolean-expressions adds allow-null-union, allow-undefined-union, allow-string, and allow-number and (#2033)
  • [new-fixer] align (#2097)
  • [new-fixer] no-trailing-whitespace (#2060)
  • [bugfix] no-magic-numbers false positive on default parameter values (#2004)
  • [bugfix] no-empty-interface allow empty interface with 2 or more parents (#2070)
  • [bugfix] no-trailing-whitespace fixed for comments and EOF (#2060)
  • [bugfix] no-empty no longer fails for private or protected constructor (#1976)
  • [bugfix] tslint:disable/tslint-enable now handles multiple rules and fixes what code is enabled/disabled (#2061)
  • [bugfix] no-inferrable-types now validates property declarations (#2081)
  • [bugfix] unified-signatures false positive (#2016)
  • [bugfix] whitespace finds all whitespace errors in JsxExpressions and TemplateExpressions (#2036)
  • [bugfix] comment-format no more false positives in JsxText (#2036)
  • [enhancement] --test option now accepts glob (#2079)

Thanks to our contributors!

  • Alexander Rusakov
  • Andrii Dieiev
  • @andy-ms
  • Andy Hanson
  • Josh Goldberg
  • Kei Son
  • Klaus Meinhardt
  • Krati Ahuja
  • Martin Probst
  • Mohsen Azimi
  • Romke van der Meulen
  • cameron-mcateer
palantir
published 4.3.0-dev.0 •

palantir
published 4.3.1 •

Changelog

Source

v4.3.1

  • [bugfix] Fix back-compat break. Allow formattersDirectory === null (#1997)
palantir
published 4.3.0 •

Changelog

Source

v4.3.0

  • Enabled additional rules in tslint:latest configuration (#1981)
  • [new-rule] space-before-function-paren (#1897)
  • [new-rule] typeof-compare (#1927)
  • [new-rule] import-spacing (#1935)
  • [new-rule] unified-signatures (#1944)
  • [new-fixer] object-literal-key-quotes (#1953)
  • [new-fixer] no-angle-bracket-type-assertion (#1979)
  • [bugfix] adjacent-overload-signature now handles static/computed function names (#1831)
  • [bugfix] file-header now handles files with only comments (#1913)
  • [bugfix] no-consecutive-blank-lines now allows blank lines in template strings (#1886)
  • [bugfix] object-literal-key-quotes no longer throws exception when using rest operator (#1916)
  • [bugfix] restrict-plus-operands no longer shows false positive in ternary operation (#1925)
  • [bugfix] prefer-for-of now handles nested for loops with reused iterator (#1926)
  • [bugfix] Exit gracefully when tsconfig.json passed as --project argument doens't have files (#1933)
  • [bugfix] object-literal-key-quotes now handles shorthand and spread properties (#1945)
  • [bugfix] arrow-parens Allow binding patterns ([x, y]) => ... and ({x, y}) => ... to have parens (#1958)
  • [bugfix] semicolon fixer now handles comma separator in interfaces and indicates failure when commas are using in interfaces (#1856)
  • [bugfix] only-arrow-functions option allow-named-functions now allows function declarations (#1961)
  • [bugfix] prefer-for-of no longer shows false positive when array is in parentheses (#1986)
  • [bugfix] prefer-const now works for TypeScript versions < 2.1.0 (#1989)
  • [enhancement] member-access narrow location of error (#1964)

Thanks to our contributors!

  • Andrii Dieiev
  • @andy-ms
  • Andy Hanson
  • Josh Goldberg
  • Klaus Meinhardt
  • Linda_pp
  • Mohsen Azimi
  • Victor Grigoriu
  • Yuichi Nukiyama
  • cameron-mcateer
palantir
published 4.2.0-dev.0 •

palantir
published 4.2.0 •

Changelog

Source

v4.2.0

  • [new-rule] no-string-throw (#1878)
  • [new-rule] no-empty-interface (#1889)
  • [new-rule] interface-over-type-literal (#1890)
  • [new-rule] callable-types (#1891)
  • [new-rule] no-void-expression (#1903)
  • [new-rule-option] ban-single-arg-parens added to arrow-parens (#1893)
  • [bugfix] prefer-const handles destructuring arrays (#1894), destructuring objects (#1906), and forward references (#1908)
  • [bugfix] Don't error for misplaced braces for 'else' in one-line rule (#1866)
  • [bugfix] no-shadowed-variable now identifies shadowed for iterator (#1816)
  • [bugfix] object-literal-key-quotes now includes function names (#1874)
  • [bugfix] error when EOF comes after disable-next-line comment (#1902)

Thanks to our contributors!

  • Andrew Scott
  • @andy-ms
  • Andy Hanson
  • James Booth
  • Klaus Meinhardt
  • Vladimir Matveev
palantir
published 4.1.0-dev.0 •

palantir
published 4.1.1 •

Changelog

Source

v4.1.1

  • [bugfix] typedef rule was showing false positive for catch clause (#1887)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc