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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,14 +105,11 @@ The bad alternatives are:
105
105
106
106
## Format
107
107
108
-
To find the location of `bsc` to run:
109
-
- Look for the nearest `bsconfig.json`. That's the root of the project. \*
110
-
- Search in that directory's `node_modules/bs-platform/{platform}/bsc.exe`.
108
+
To find the location of `bsc.exe` to run the formatter:
109
+
- Search in the file's directory's `node_modules/bs-platform/{platform}/bsc.exe`.
111
110
- Do **not** directly use `node_modules/.bin/bsc` if you can help it. That's a Nodejs wrapper. Slow startup. We don't want our formatting to be momentarily stalled because some Nodejs cache went cold.
112
111
- `platform` can be `darwin`, `linux`, `win32` or `freebsd`.
113
112
114
-
\* Maybe we'll do this differently in the future because asking for a `bsconfig.json` just to format some files is rough.
115
-
116
113
### Formatting Newline
117
114
118
115
The formatted result should be taken as-is, without any extra string trimming and newline addition/removal by the editor plugin.
0 commit comments