From ed96e23b5a581700d6933068f0e2d1ac9f272b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= <34514239+appgurueu@users.noreply.github.com> Date: Tue, 3 Oct 2023 00:19:56 +0200 Subject: [PATCH] Update contribution guidelines to state usage of Prettier --- CONTRIBUTING.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 85fafd3ccd..289f9acd34 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -132,18 +132,13 @@ This will run all tests and watch source and test files for changes. When a chan #### Coding Style -To maximize the readability and correctness of our code, we require that new submissions follow the -[JavaScript Standard Style](https://standardjs.com/). - -Before committing, please run: +For consistency and readability, we require that new submissions follow the [Prettier Style](https://prettier.io/). +Before committing, please format your code automatically using Prettier by running the following command: ```bash npm run style ``` -In order to apply the coding style (where it can be done automatically). If an error is shown, please figure out what's -wrong, fix it and run standard again. - A few (but not all) of the things to keep in mind: - Use camelCase with the leading character as lowercase for identifier names (variables and functions).