Creuna-Oslo / create-react-app

React app boilerplate
MIT License
1 stars 1 forks source link

Refactor: Changes eslintrc react version to format specified in docs #42

Closed asbjornh closed 6 years ago

asbjornh commented 6 years ago

According to the documentation for eslint-plugin-react, react version should not use the package.json-like version syntax but instead just the major and minor version without any special symbols.

The version currently in .eslintrc.json does remove the warning but I discovered that at least some rules stop working if ^16.3.0 is used instead of 16.3. This also makes the stateless script in @creuna/react-scripts unusable because it uses eslint-plugin-react internally.