fisker Cheung

Results 1279 comments of fisker Cheung

I think we can accept multiple `--ignore-path`. But when `--ignore-path` is used, maybe we should not search for `.prettierignore` file?

This won't be a problem if we search `.gitignore` and `.prettierignore` by default. Maybe we can do this in v3.

> Alternatively ignorePath could also be allowed in .prettierrc. This make sense.

I say we should implement svg support(or adopt a plugin, if any). For svg inside html, we can call that parser to format.

![image](https://user-images.githubusercontent.com/172584/180435701-79a74a14-3dcd-4a08-a32d-e8f40b865a53.png)

**Prettier 2.7.1** [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEBGAdAAlQHSqgBi2z0zMwCpMBZAQwAdMBPCAVwCdMADdiCGLpgAmAS3ZwwMCOyaYA7iJgALbnLgAjerTABrJAHp96QQAp6AGzi0AznExR+d5XfM2Yw-gEpS5KnUYsHNzqrCLmQoKi4pLSsgrKzGycvPyYWgkmcOgA5lhcSjAw9Ab65hBgtOZKENYwSADMBE1c3lB4IAA0IBD0MCLQ1sigtOy8cgAKIwiDKJVytEyDXers2jpwMADKtAC2cAAyIlBwyABmlbbLq7obm1pgR9nIMOyscF1wO+pwQkI-+7QoNlWLRsnAAGLSHa0QqPZAgWisKSdEAFHbmADqSkUcGs9zgm2mihEADdFEx4WBrEsQEdbOwYONVtloWcLu8QAArawAD02j0sAEVWI42eZLiAtOx6fDoewdEIIHIoCj6OwjjAMSIhMpkAAOAhdNU1OAY1b0eFq3Fwdgkk5dACOIvgTJ6MwR1gAtMcfj8UeInWI4EzQaykOdxRzbDsRM9XlGBXBhaLw+yujBaOotTqlMgAEzp1ZhR4AYQgOzDIFxAFYUaxbAAVTMzCMSklvACSUD+sE2YHVvQAgt3NjAmJYxbYAL5ToA) ```sh --parser markdown ``` **Input:** ```markdown 1. 1 10. 1 * Map your `root` directory with `webpack://.` (please note the last dot) * Map your `build`...

I don't think we'll accept. > However npm aliases are completely unreliable in npm Will this work? ```js // package.json "dependencies": { "prettier": "link:./prettier.js" // Or maybe "file:./prettier.js" } //...

How about link to https://eslint.org/docs/user-guide/configuring/?

We need update this file as well https://github.com/prettier/prettier/blob/main/website/versioned_docs/version-stable/configuration.md#configuration-overrides

Thanks for working on this