WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#28289 closed defect (bug) (fixed)

Include *.yml coding standards in .editorconfig

Reported by: netweb Owned by: SergeyBiryukov
Milestone: 4.0 Priority: normal
Severity: normal Version: 4.0
Component: Build/Test Tools Keywords: has-patch commit
Focuses: Cc:

Description

YAML files should use the same code styling as JSON files in .editorconfig

http://yaml.org/spec/1.2/spec.html#id2777534

To maintain portability, tab characters must not be used in indentation

Attachments (1)

28289.patch (302 bytes) - added by netweb 5 years ago.

Download all attachments as: .zip

Change History (4)

@netweb
5 years ago

#1 @netweb
5 years ago

  • Keywords has-patch added

#2 @jorbin
5 years ago

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

We don't have many yml files, but since white space matters in YAML, this seems like a smart addition to me.

#3 @SergeyBiryukov
5 years ago

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

In 28695:

Include *.yml coding standards in .editorconfig.

props netweb.
fixes #28289.

Note: See TracTickets for help on using tickets.