Skip to content

Code syntax formatting in IDE #467

@chrismayer

Description

@chrismayer

Since we switched to eslint in version 9 an external code formatter has to be used. In Wegue this seems to be stylistic. Assuming using VS Code for development how could the formatting rules be applied automatically while developing?

I am using prettier a lot and therefore I have an integration with VS Code, but I could not succeed doing similar for Wegue, which is quite inconvenient.

@fschmenger & @sronveaux do you use VS Code? Could you share your settings to ensure proper formatting for Wegue?

Should we commit some .vscode/ config files? Or better just document how to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions