You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thank you for considering contributing! Your help is appreciated.
4
+
5
+
## How Can I Contribute?
6
+
7
+
### Reporting Bugs
8
+
9
+
If you find a bug, please make sure to include the following:
10
+
- A clear and descriptive title.
11
+
- Steps to reproduce the bug.
12
+
- The expected behavior and what happened instead.
13
+
- Your environment details (Node.js version, OS, etc.).
14
+
15
+
Please check the existing issues to see if a similar bug has already been reported.
16
+
17
+
### Suggesting Enhancements
18
+
19
+
If you have an idea for a new feature or an improvement, feel free to open an issue to discuss it. This lets us coordinate our efforts and prevent duplication of work.
20
+
21
+
### Pull Requests
22
+
23
+
We welcome pull requests! For major changes, please open an issue first to discuss what you would like to change.
24
+
25
+
When submitting a pull request, please make sure to:
26
+
- Update the `README.md` if any user-facing changes were made.
27
+
- Ensure the tests pass (`npm test`).
28
+
- Follow the existing code style.
29
+
30
+
## Development Setup
31
+
32
+
To get your development environment set up, please follow these steps. You will need to have Go installed to build the WebAssembly module.
Copy file name to clipboardExpand all lines: README.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
1
# Prettier Plugin for Go (using WASM)
2
2
3
-
This is a Prettier plugin for the Go programming language. It formats Go code using the official `go/format` package, which is compiled to WebAssembly (WASM) to run in a Node.js environment.
This is a [Prettier](https://prettier.io/) v3 plugin for the Go programming language. It formats Go code using the official `go/format` package, which is compiled to WebAssembly (WASM) to run in a Node.js environment.
4
7
5
8
## Background
6
9
@@ -10,7 +13,7 @@ This project was born out of the desire to have a single, unified formatting too
10
13
11
14
## Installation
12
15
13
-
First, install Prettier and this plugin from NPM:
16
+
First, install Prettier (v3 or later) and this plugin from NPM:
0 commit comments