Eslint-plugin-react: False positive for react/jsx-pascal-case on namespaced components

Created on 17 Jun 2016  路  3Comments  路  Source: yannickcr/eslint-plugin-react

In v5.2.0 I'm getting a false positive for the react/jsx-pascal-case rule when using namespaced components.

<Modal show={showModal} onHide={this.closeModal}>
  <Modal.Header closeButton>
    <Modal.Title>Demo</Modal.Title>
  </Modal.Header>
</Modal>

It looks like it was introduced in cd5ef2b17257d10f5398c35d7fc73fdfb9a360f9.

Most helpful comment

sorry bout that 馃槩
re: yannickcr/eslint-plugin-react/pull/638

All 3 comments

ping @evcohen

sorry bout that 馃槩
re: yannickcr/eslint-plugin-react/pull/638

No problem @evcohen, thanks for the very quick fix 馃槈

Was this page helpful?
0 / 5 - 0 ratings