[wp-trac] [WordPress Trac] #28494: Multiple strings in .editorconfig section names should be wrapped in curly brackets

WordPress Trac noreply at wordpress.org
Mon Jun 9 22:15:05 UTC 2014


#28494: Multiple strings in .editorconfig section names should be wrapped in curly
brackets
------------------------------+-----------------------------
 Reporter:  netweb            |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 via @treyhunner EditorConfig co-creator in #bbPress2614

 The following sections are invalid:

 - [*.json,*.yml]
 - [*.txt,wp-config-sample.php]

 They should instead be:

 - [{*.json,*.yml}]
 - [{*.txt,wp-config-sample.php}]

 Square brackets for the section and curly braces to denote the either-or
 conditions in the shell glob.

 See http://editorconfig.org/#file-format-details

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28494>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list