Skip to content

[Issue] Feature/formatting json yaml #30066

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #30062: Feature/formatting json yaml


Description (*)

Consider using a indentation of 2 for json and yaml files.
The recommended default for the package.json and yaml files is 2.
The only exception is composer that uses 4.

I know yaml is not a file format found in Magento 2 by default.
But it is used for some use case.

This PR suggests adding more rules to the editorconfig.

Manual testing scenarios (*)

None, this just a formatting suggestion

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

No tests needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedPriority: P4No current plan to fix. Fixing can be deferred as a logical part of more important work.Progress: doneSeverity: S4Affects aesthetics, professional look and feel, “quality” or “usability”.duplicate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions