Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

React-specific rules #576

Closed
1 task done
adidahiya opened this issue Aug 17, 2015 · 5 comments
Closed
1 task done

React-specific rules #576

adidahiya opened this issue Aug 17, 2015 · 5 comments

Comments

@adidahiya
Copy link
Contributor

adidahiya commented Aug 17, 2015

Some ideas:

reference:

@nikolaymatrosov
Copy link

+1

@thasner
Copy link

thasner commented Mar 18, 2016

+1 to all

@noamkeidar
Copy link

+1

Would love to see similar rules to AirBnb’s: https://github.com/airbnb/javascript/tree/master/react

@jkillian
Copy link
Contributor

Another rule idea (I added it to the checklist above):

no-string-refs: bans string literal refs

String literal refs are considered a legacy feature and may be deprecated soon

@adidahiya
Copy link
Contributor Author

For anyone following this thread:

We've started a new repo called tslint-react: https://github.com/palantir/tslint-react

This will contain rules related to react & JSX. I've gone ahead and filed the rule suggestions above as issues in that repo -- follow along there for updates! We should have an initial release on NPM shortly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants