Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#5699 closed defect (bug) (fixed)

Multiple strings in .editorconfig section names should be wrapped in curly brackets

Reported by: netweb's profile netweb Owned by: djpaul's profile djpaul
Milestone: 2.1 Priority: normal
Severity: normal Version:
Component: Core Keywords: has-patch commit
Cc:

Description

via @treyhunner EditorConfig co-creator in #bbPress2614

The following sections are invalid:

  • [*.json,*.yml]

They should instead be:

  • [{*.json,*.yml}]

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

Attachments (1)

5699.patch (307 bytes) - added by netweb 10 years ago.

Download all attachments as: .zip

Change History (4)

@netweb
10 years ago

#1 @netweb
10 years ago

  • Keywords has-patch added

#2 @DJPaul
10 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 2.1

Thanks netweb :)

#3 @djpaul
10 years ago

  • Owner set to djpaul
  • Resolution set to fixed
  • Status changed from new to closed

In 8663:

Correct invalid sections in the .editorconfig file.

Fixes #5699, props netweb and treyhunner

Note: See TracTickets for help on using tickets.