Project: Switch to Prettier for code formatting

This commit is contained in:
Romain Vigier
2026-07-20 13:05:11 +02:00
parent b4ff33e681
commit 1f514c023f
40 changed files with 4511 additions and 4119 deletions
+7 -7
View File
@@ -12,13 +12,13 @@ You're welcome to contribute to the [code](#contributing-to-the-code) or to the
## Table of contents <!-- omit in toc -->
- [Testing the extension](#testing-the-extension)
- [Transfering to a virtual machine](#transfering-to-a-virtual-machine)
- [Printing debug logs](#printing-debug-logs)
- [Transfering to a virtual machine](#transfering-to-a-virtual-machine)
- [Printing debug logs](#printing-debug-logs)
- [Contributing to the code](#contributing-to-the-code)
- [Coding style](#coding-style)
- [Copyright notice](#copyright-notice)
- [Creating new files](#creating-new-files)
- [Localized strings](#localized-strings)
- [Coding style](#coding-style)
- [Copyright notice](#copyright-notice)
- [Creating new files](#creating-new-files)
- [Localized strings](#localized-strings)
- [Contributing to the translations](#contributing-to-the-translations)
---
@@ -65,7 +65,7 @@ You can then push to a branch and create a new merge request.
### Coding style
We follow the [GNOME Shell coding style](https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/HEAD/HACKING.md) and we use [ESLint](https://eslint.org/) to enforce it.
We use [ESLint](https://eslint.org/) to check for coding mistakes, and [Prettier](https://prettier.io/) to enforce a consistent styling.
To make sure your code follows it: