Skip to content

I'm not getting missing PropType warnings in React 16 #3398

@RyanAtViceSoftware

Description

@RyanAtViceSoftware

Is this a bug report?

Maybe

Can you also reproduce the problem with npm 4.x?

yes

Which terms did you search for in User Guide?

proptypes
eslint

Environment

  1. node -v: v6.5.0
  2. npm -v:5.5.1
  3. yarn --version (if you use Yarn): 0.18.1
  4. npm ls react-scripts (if you haven’t ejected): [email protected]

Then, specify:

  1. Operating system: OSX El Capitain
  2. Browser and version (if relevant):

Steps to Reproduce

  1. create a component with props but with out proptypes for the props
  2. npm start
  3. verify you get no warnings about missing proptypes

Expected Behavior

I'd expect to get warnings about not having proptypes

Actual Behavior

No warnings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions