object-curly-newline minProperties documentation clarification #8874
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
documentation
Relates to ESLint's documentation
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using? default
The documentation for
object-curly-newline
'sminProperties
option statesIn practice I have found that it requires line breaks when the number of properties is not simply
more than
the given integer but greater than or equal to the given integer.Here is an example:
This triggers errors:
This object has one property and
minProperties
is set to one. One is not "more than" one. So I believe the documentation is incorrect.The text was updated successfully, but these errors were encountered: