pugjs / babel-plugin-transform-react-pug

A plugin for transpiling pug templates to jsx
MIT License
811 stars 47 forks source link

Add integration with eslint-plugin-react #14

Closed ezhlobo closed 7 years ago

ezhlobo commented 7 years ago

Hey guys,

I started the project which kills my pain in using eslint-plugin-react and babel-plugin-transform-react-pug together: eslint-plugin-react-pug.

I see many duplicates of issue like #7 ('pug' is not defined no-undef), so I think it will be reasonable to mention eslint-plugin-react-pug in README. What do you think?

Pros: everyone will easy know how to integrate this babel plugin with commonly used eslint-plugin-react.

Cons: eslint-plugin-react-pug is not tested enough on production.

ForbesLindesay commented 7 years ago

If you send a pull request that adds a brief description/explanation of this, I'd be happy to merge.

ezhlobo commented 7 years ago

@ForbesLindesay thank you. Started a PR #17