Skip to content

Commit

Permalink
Add react/prefer-read-only-props rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 6, 2019
1 parent 8e24a2f commit 5038e53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ module.exports = {
'react/no-unsafe': 'error',
'react/no-unused-prop-types': 'error',
'react/no-unused-state': 'error',
'react/prefer-read-only-props': 'error',
'react/prop-types': 'error',
'react/react-in-jsx-scope': 'error',
'react/require-default-props': [
Expand Down

0 comments on commit 5038e53

Please sign in to comment.