- πΊπΈUnited States traviscarden
The current PR seems to be working for people, so I'm going to go ahead and merge it in lieu of further feedback. Obviously, we can follow-up issues as needed. Thanks, all. ποΈ
-
TravisCarden β
committed 9adbb51b on main
Resolve #3309716 "Create official PhpStorm code style"
-
TravisCarden β
committed 9adbb51b on main
- πΊπ¦Ukraine lobodacyril
It seems you need to remove for JSON. It adds trailing commas when I save composer.json and it's wrong.
- πΊπΈUnited States traviscarden
Thanks for the feedback, @lobodacyril! Are you sure that behavior is coming from here? It looks like the setting for trailing commas in JSON is this:
<JSON> <option name="KEEP_TRAILING_COMMA" value="true" /> </JSON>
But that's absent from the JSON settings in the current
Drupal.xml
:<codeStyleSettings language="JSON"> <option name="WRAP_LONG_LINES" value="true" /> <indentOptions> <option name="CONTINUATION_INDENT_SIZE" value="2" /> <option name="TAB_SIZE" value="2" /> </indentOptions> </codeStyleSettings>
I'll bet it's from your local preferences. You can see you those by exporting your active configuration and comparing them.