Skip to content

Style compliancy #60

@iRon7

Description

@iRon7

Hello Dan,

Your project is great!
I would like to give you some feedback about some styles which I think should be different but before going into detail, I would like to understand which style guide (if any) you using as a lead.
I am aware of two renowned style guides:

I see small discrepancies with your beautifier and the style guides where it concerns spaces around commas and semicolons in collections ($array = @('one', 'two', 'three') is reformatted to: `$array = @('one','two','three')). Which might go a lot deeper with regards to styling and technically (AST relations), e.g.:

  • removing the semicolon at the end of each line (including a HashTable items, as in your own ReadMe.me example)
  • { ,@('test') } where only the left space (between the curly bracket and comma is removed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions