design-system-react icon indicating copy to clipboard operation
design-system-react copied to clipboard

Add shared eslint library (8)

Open tweettypography opened this issue 10 years ago • 1 comments

Let's add https://github.com/salesforce-ux/eslint-config-slds to this library. What are the possible implications?

It's a private github repo (for now) so anyone consuming this library would need a strategy for importing private repos, but presumably at the moment they already have that in place for this library.

It has stricter rules than the current set - but we could fix once after merging this in and then have a much cleaner code base from now on. Also, if we want to loosen up or change the rules before bringing it in that's an option.

The biggest plus is that it's an external repo, inheriting from airbnb's well-maintained repo, that can be used by any project in any cloud, especially any React project consuming design-system-react. As an external repo updates to it can be applied everywhere. And because of the way rules cascade individual apps can modify specific rules in their repo if they have specific needs, without breaking the link to the shared rules.

@donnieberg @ivanbogdanov @minevskiy

tweettypography avatar May 05 '16 14:05 tweettypography

@BrunoFonzi @tweettypography Bring this up at the next sync for discussion

arunjeetsingh avatar May 16 '16 18:05 arunjeetsingh