Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

feat: add "react" variant #42

Merged
merged 7 commits into from
Jun 20, 2019
Merged

feat: add "react" variant #42

merged 7 commits into from
Jun 20, 2019

Conversation

wincent
Copy link
Contributor

@wincent wincent commented Jun 20, 2019

@matuzalemsteles: I made this because we are rolling out ESLint in liferay-portal, at which point I realized that you had already made a version of this in #37 and I forgot all about it.

So, I pulled down your commits and cherry-picked them on top (the README updates, and the hooks plugin, which I'd forgotten about). The only real difference between yours and mine is that I have "liferay/react" extending "liferay" by default. Also updating the dependencies while I'm at it.

Closes: #37

wincent and others added 6 commits June 20, 2019 18:02
This extends the base plugin, adding "eslint-plugin-react" on top of
that.

To use, instead of extending the base:

    extends: ['liferay'],

extend the variant:

    extends: ['liferay/react'],
You don't need to extend both, because "liferay/react" already extends
"liferay".
@wincent wincent merged commit 12a3fbd into master Jun 20, 2019
@wincent wincent deleted the wincent/react branch June 20, 2019 16:15
@matuzalemsteles
Copy link
Member

@wincent no problem, thanks for that.

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

Successfully merging this pull request may close these issues.

2 participants