Procházet zdrojové kódy

Documentation: Improve VS Code settings

  - Set commit message length to 72 according to CONTRIBUTING.md
  - Format trailing new lines according to check-newlines-at-eof.py
dotjpg3141 před 3 roky
rodič
revize
24a98b888a
1 změnil soubory, kde provedl 7 přidání a 1 odebrání
  1. 7 1
      Documentation/VSCodeConfiguration.md

+ 7 - 1
Documentation/VSCodeConfiguration.md

@@ -125,7 +125,13 @@ These belong in the `.vscode/settings.json` of Serenity.
     "C_Cpp.clang_format_style": "file",
     "C_Cpp.clang_format_style": "file",
     // Tab settings
     // Tab settings
     "editor.tabSize": 4,
     "editor.tabSize": 4,
-    "editor.useTabStops": false
+    "editor.useTabStops": false,
+    // format trailing new lines
+    "files.trimFinalNewlines": true,
+    "files.insertFinalNewline": true,
+    // git commit message length
+    "git.inputValidationLength": 72,
+    "git.inputValidationSubjectLength": 72
 }
 }
 ```
 ```