Update contributing.md to mention options philosophy (#15648)

Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
This commit is contained in:
authored and GitHub committed 2023-12-12 23:34:27 +09:00
1 parent c1ebae2e83
commit e04f0b023b
1 file changed
+4
+4
View File
@@ -62,6 +62,10 @@ To debug Prettier locally, you can either debug it in Node (recommended) or the
- The easiest way to debug it in Node is to create a local test file with some example code you want formatted and either run it in an editor like VS Code or run it directly via `./bin/prettier.js <your_test_file>`.
- The easiest way to debug it in the browser is to build Prettier's website locally (see [`website/README.md`](website/README.md)).
## No New Options
Prettier is an opinionated formatter and is not accepting pull requests that add new formatting options. You can [read more about our options philosophy here](docs/option-philosophy.md).
## Pull requests
The project uses ESLint for linting and Prettier for formatting. If your editor isn't set up to work with them, you can lint and format all files from the command line using `yarn fix`.