Skip to content

Repo: simplify prettier include lists #5060

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Overview

Copying conversation from https://github.com/typescript-eslint/typescript-eslint/pull/5027/files#r878861604: we explicitly list file extensions for Prettier. It's getting a little unweildy.

    "format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",

Let's look at using @Josh-Cena's suggestion of prettier --write \"./**/*\" --ignore-unknown --ignore-path ....

It would be nice to format all supported files, including yaml...

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuerepo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions