-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds threshold options for properties-order (#88)
* Adds emptyLineMinimumPropertyThreshold option - Partial implementation - Acceptance tests are passing - Rejection tests are failing * Resolves threshold setting problems with unspecified props * Adds docs for emptyLineMinimumPropertyThreshold option - Includes a few extra test absolutely verifying that the documented example is correct * Makes threshold setting opt-in * Adds test cases for integration of threshold setting and unspecified * Updates documentation for threshold option * Resolves merge conflicts * Restore tests now I'm no longer debugging 🤦 * Update rules/properties-order/README.md Fixes a docs link Co-Authored-By: Aleks Hudochenkov <aleks@hudochenkov.com> * Update rules/properties-order/README.md Co-Authored-By: Aleks Hudochenkov <aleks@hudochenkov.com> * Update rules/properties-order/README.md Co-Authored-By: Aleks Hudochenkov <aleks@hudochenkov.com> * Update rules/properties-order/README.md Co-Authored-By: Aleks Hudochenkov <aleks@hudochenkov.com> * Update rules/properties-order/README.md Co-Authored-By: Aleks Hudochenkov <aleks@hudochenkov.com> * Tweak emptyLineMinimumPropertyThreshold docs per suggestions * Remove `allNodesData` property from checkEmptyLineBefore * Attempts to make the docs clearer for the emptyLineMinimumPropertyThreshold config * Fix propsCount in checkNode.js * Moves propsCount outside of the loop * Concatenate long lines in properties-order README
- Loading branch information
1 parent
b003219
commit d23db37
Showing
6 changed files
with
1,026 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.