special trailing whitespaces (#2137)

This commit is contained in:
G4mingJon4s
2025-05-18 02:52:12 +02:00
committed by GitHub
parent 4749acdd4f
commit 209a9c368b
2 changed files with 9 additions and 0 deletions

View File

@@ -6,5 +6,8 @@ indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
[src/ScriptEditor/NetscriptDefinitions.d.ts]
trim_trailing_whitespace = false
[*.md]
trim_trailing_whitespace = false

View File

@@ -151,6 +151,12 @@ upstream/master
- Keep code-changes on a branch as small as possible. This makes it easier for code review. Each branch should be its own independent feature.
- Regularly rebase your branch against `dev` to make sure you have the latest updates pulled.
### Special Exceptions
- In `src/ScriptEditor/NetscriptDefinitions.d.ts`, there are two specially-formatted go boards with two trailing whitespaces.
Make sure your editor does not automatically format those examples.
You can look for changes to that part using `git diff` to make sure the whitespaces are still present.
## Running locally
Install