Problem: It’s easy to accidentally name a boolean in a way that makes it...
Problem: It’s easy to accidentally name a boolean in a way that makes it sound like a function.
Example: showDialog.
Instead, prefer isDialogVisible or dialogVisible.
Solution: This ESLint plugin enforces boolean naming rules for React props: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/boolean-prop-naming.md