:orange_book: Lint rules related to React & JSX for TSLint.
jsx-key
: Check key in JSX spread attribute #129 (thanks @jomasti)jsx-wrap-multiline
: Support JSX fragment syntax #130 (thanks @dmiller9911)jsx-key
#102jsx-equals-spacing
#104Thanks to our contributors!
typescript
and tslint
#108tsutils
#110jsx-no-lambda
: allow lambdas on ref attribute #107tslint-react
now requires tslint
v5+ and typescript
v2.1+jsx-alignment
rule now works with typescript
2.3 (#87)Contributors: @Kovensky
jsx-no-bind
jsx-no-lambda
jsx-no-bind
in the built-in configuration preset.Contributors: @lvillani, @IllusionMH
jsx-boolean-value
(thanks @ismail-syed!)jsx-wrap-multiline
rulejsx-boolean-value
and jsx-wrap-multiline
in the built-in configurationjsx-use-translation-function
(thanks @mohsen1!)jsx-ban-props
(thanks @no23reason!)jsx-wrap-multiline
from tslint-react
built-in configuration because it was buggyAdds automatic code fix support for jsx-curly-spacing
(thanks @markwongsk!)
Fixed a file naming typo that caused TSLint to not find the jsx-wrap-multiline rule (#46).