tslint-react

Lint rules related to React & JSX for TSLint.

APACHE-2.0 License

Downloads
473.4K
Stars
749
Committers
38

Bot releases are hidden (Show)

tslint-react - v5.0.0 Latest Release

Published by adidahiya over 4 years ago

⚠️ Note: This version has been marked as deprecated on NPM to encourage users to migrate to ESLint.

  • BREAKING: upgrade to TSLint 6.0 (#251)
  • BREAKING: disable formatting-related rules (#251)
tslint-react - v4.2.0

Published by adidahiya over 4 years ago

⚠️ Note: This version has been marked as deprecated on NPM to encourage users to migrate to ESLint.

  • [bugfix] Include LICENSE file in NPM package
tslint-react - v4.1.0

Published by adidahiya about 5 years ago

  • [new-rule] react-no-unnecessary-fragment (#245)
  • [new-rule] jsx-whitespace-literal (#243)
  • [new-rule] jsx-curly-brace-presence (#196)
  • [bugfix] jsx-wrap-multiline: check for nested JSX expressions (#240)
tslint-react - v4.0.0

Published by adidahiya over 5 years ago

  • BREAKING: drop support for TS < 2.8 (we're now using tsutils 3.x)
  • [bugfix] jsx-curly-spacing fix false positive with render props (#140)
  • [bugfix] jsx-key fix error detection in parenthesized expression (#181)
  • [bugfix] jsx-wrap-multiline fix for closing parenthesis (#194)
  • [enhancement] jsx-space-before-trailing-slash add auto fixer (#182)
  • [enhancement] jsx-self-close add auto fixer (#189)
tslint-react - v3.6.0

Published by jkillian over 6 years ago

  • [new-rule] jsx-space-before-trailing-slash (#125)
  • [new-fixer] jsx-boolean-value (#154)
  • [enhancement] jsx-ban-elements and jsx-curly-spacing rules can be enabled for .jsx files (#163)

Thanks to our contributors!

  • @no23reason
tslint-react - v3.5.1

Published by adidahiya over 6 years ago

  • jsx-use-translation-function: Fix false positive where punctuation and HTML entities are side by side (#142)
tslint-react - v3.5.0

Published by adidahiya over 6 years ago

  • jsx-use-translation-function: Add options to allow HTML entities and/or punctuation to be excluded from translation check (#139)
tslint-react - v3.4.0

Published by adidahiya almost 7 years ago

  • New rule: jsx-ban-elements #137
tslint-react - v3.3.3

Published by adidahiya almost 7 years ago

Re-release of v3.3.0, which failed to publish due to faulty CI configuration.

tslint-react -

Published by adidahiya almost 7 years ago

tslint-react - v3.3.0

Published by adidahiya almost 7 years ago

  • jsx-key: Check key in JSX spread attribute #129 (thanks @jomasti)
  • jsx-wrap-multiline: Support JSX fragment syntax #130 (thanks @dmiller9911)
tslint-react - v3.2.0

Published by adidahiya about 7 years ago

  • New rule: jsx-key #102
  • New rule: jsx-equals-spacing #104
  • Added empty index file in rules directory #111

Thanks to our contributors!

  • @bolatovumar
  • @mDibyo
tslint-react - v3.1.0

Published by adidahiya about 7 years ago

  • Explicit peer dependencies on typescript and tslint #108
  • Explicit dependency on tsutils #110
  • Enhancement: jsx-no-lambda: allow lambdas on ref attribute #107
tslint-react - v3.0.0

Published by adidahiya over 7 years ago

  • 🔥 Breaking: tslint-react now requires tslint v5+ and typescript v2.1+
  • Fixed: jsx-alignment rule now works with typescript 2.3 (#87)

Contributors: @Kovensky

tslint-react - v2.6.0

Published by adidahiya over 7 years ago

  • New rule: jsx-no-bind
  • Bugfix: fixed some false positives in jsx-no-lambda
  • 🔥 Breaking: enabled jsx-no-bind in the built-in configuration preset.

Contributors: @lvillani, @IllusionMH

tslint-react - v2.5.0

Published by adidahiya over 7 years ago

  • New Rule: jsx-boolean-value (thanks @ismail-syed!)
  • Fixed a false positive failure in the jsx-wrap-multiline rule
  • 🔥 Breaking: Enabled jsx-boolean-value and jsx-wrap-multiline in the built-in configuration
tslint-react - v2.4.0

Published by jkillian over 7 years ago

  • New rule: jsx-use-translation-function (thanks @mohsen1!)
tslint-react - v2.3.0

Published by adidahiya almost 8 years ago

  • [new-rule] jsx-ban-props (thanks @no23reason!)
  • Removed jsx-wrap-multiline from tslint-react built-in configuration because it was buggy
tslint-react - v2.2.0

Published by adidahiya almost 8 years ago

Adds automatic code fix support for jsx-curly-spacing (thanks @markwongsk!)

tslint-react - v2.1.1

Published by adidahiya almost 8 years ago

Fixed a file naming typo that caused TSLint to not find the jsx-wrap-multiline rule (#46).