There is a react
codebase, and I would like to prettify it with the following rule:
- Complete the prop shorthands with a value.
shorthand => shorthand={true}
Current:
<Table celled unstackable />
Expected:
<Table celled={true} unstackable={true} />
This is an eslint rule
Just add this to your
eslintrc
rules
to disable it;