kentcdodds / webpack-validator-DEPRECATED

Use this to save yourself some time when working on a webpack configuration.
MIT License
93 stars 8 forks source link

Check for invalid fields #4

Closed xjamundx closed 8 years ago

xjamundx commented 8 years ago

I think the biggest thing you want to check if is people are using unsupported field names. This is true both at the root level and inside nested objects.

kentcdodds commented 8 years ago

If we get https://github.com/kentcdodds/configuration-validator/issues/1 supported, then all we need to do is create basic validators for at least every root property and that will cover us for now. Even something like:

export default {
  key: 'devtool',
  validate() {}
}

Would be sufficient for now. Then we can go back through and fill in actual validation.

kentcdodds commented 8 years ago

This will be closed by #13