Skip to content

Add Prettier #3009

@coliff

Description

@coliff

Prerequisites

Proposal

It can be a bit annoying when the formatting of code changes a bit with PRs. I think it'd be good to add Prettier as a dev dependency and add the following script to package.json

"prettier": "prettier --write ./*.{js,json,md,yml}"

We should ignore the dist folder though.

Motivation and context

Keeps docs and code formatted consistently and prettier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions