Lint rules related to React & JSX for TSLint.
APACHE-2.0 License
Bot releases are hidden (Show)
⚠️ Note: This version has been marked as deprecated on NPM to encourage users to migrate to ESLint.
Published by adidahiya over 4 years ago
⚠️ Note: This version has been marked as deprecated on NPM to encourage users to migrate to ESLint.
Published by adidahiya about 5 years ago
react-no-unnecessary-fragment
(#245)jsx-whitespace-literal
(#243)jsx-curly-brace-presence
(#196)jsx-wrap-multiline
: check for nested JSX expressions (#240)Published by adidahiya over 5 years ago
jsx-curly-spacing
fix false positive with render props (#140)jsx-key
fix error detection in parenthesized expression (#181)jsx-wrap-multiline
fix for closing parenthesis (#194)jsx-space-before-trailing-slash
add auto fixer (#182)jsx-self-close
add auto fixer (#189)Published by jkillian over 6 years ago
jsx-space-before-trailing-slash
(#125)jsx-boolean-value
(#154)jsx-ban-elements
and jsx-curly-spacing
rules can be enabled for .jsx
files (#163)Thanks to our contributors!
Published by adidahiya over 6 years ago
jsx-use-translation-function
: Fix false positive where punctuation and HTML entities are side by side (#142)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)Published by adidahiya almost 7 years ago
jsx-ban-elements
#137Published by adidahiya almost 7 years ago
Re-release of v3.3.0, which failed to publish due to faulty CI configuration.
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)Published by adidahiya about 7 years ago
jsx-key
#102jsx-equals-spacing
#104Thanks to our contributors!
Published by adidahiya about 7 years ago
typescript
and tslint
#108tsutils
#110jsx-no-lambda
: allow lambdas on ref attribute #107Published by adidahiya over 7 years ago
tslint-react
now requires tslint
v5+ and typescript
v2.1+jsx-alignment
rule now works with typescript
2.3 (#87)Contributors: @Kovensky
Published by adidahiya over 7 years ago
jsx-no-bind
jsx-no-lambda
jsx-no-bind
in the built-in configuration preset.Contributors: @lvillani, @IllusionMH
Published by adidahiya over 7 years ago
jsx-boolean-value
(thanks @ismail-syed!)jsx-wrap-multiline
rulejsx-boolean-value
and jsx-wrap-multiline
in the built-in configurationPublished by jkillian over 7 years ago
jsx-use-translation-function
(thanks @mohsen1!)Published by adidahiya almost 8 years ago
jsx-ban-props
(thanks @no23reason!)jsx-wrap-multiline
from tslint-react
built-in configuration because it was buggyPublished by adidahiya almost 8 years ago
Adds automatic code fix support for jsx-curly-spacing
(thanks @markwongsk!)
Published by adidahiya almost 8 years ago
Fixed a file naming typo that caused TSLint to not find the jsx-wrap-multiline rule (#46).