-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added rule objectTypeCurlySpacing (#464)
* feat: Added rule objectTypeCurlySpacing * docs: generate new README * chore: add tests * chore: add more tests + ran create-readme to update docs * chore: add valid tests Co-authored-by: Angelica Bocanegra <[email protected]>
- Loading branch information
1 parent
204571f
commit cd40053
Showing
7 changed files
with
623 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
### `object-type-curly-spacing` | ||
|
||
_The `--fix` option on the command line automatically fixes problems reported by this rule._ | ||
|
||
This rule enforces consistent spacing inside braces of object types. | ||
|
||
#### Options | ||
|
||
The rule has a string option: | ||
|
||
* `"never"` (default): disallows spacing inside of braces. | ||
* `"always"`: requires spacing inside of braces. | ||
|
||
|
||
<!-- assertions objectTypeCurlySpacing --> |
Oops, something went wrong.