etchteam / eslint

Our shared eslint config
ISC License
0 stars 0 forks source link

Enable prefer-read-only-props #23

Closed DanWebb closed 11 months ago

DanWebb commented 11 months ago

https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/prefer-read-only-props.md

To match the sonarcloud rule.

This should make it auto-fixable so less manual intervention 🙏 .