Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#28289 closed defect (bug) (fixed)

Include *.yml coding standards in .editorconfig

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

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 12 years ago.

Download all attachments as: .zip

Change History (4)

@netweb
12 years ago

#1 @netweb
12 years ago

  • Keywords has-patch added

#2 @jorbin
12 years ago

  • Keywords commit added
  • Milestone Awaiting Review4.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
12 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 28695:

Include *.yml coding standards in .editorconfig.

props netweb.
fixes #28289.

Note: See TracTickets for help on using tickets.