From 9c343a6282827956f4fd10d16eb06fae48c7fc70 Mon Sep 17 00:00:00 2001 From: Glenn Sarti Date: Mon, 11 Jun 2018 21:27:22 +0800 Subject: [PATCH] (maint) Add visual ruler for line length Previously it was a little difficult to know when your editing would exceed the 120 line length limit. This commit modifies the project settings to add a simple visual ruler at the 120 char limit. [skip ci] --- .vscode/settings.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e57ba5d71e..77d33c3144 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,6 +3,8 @@ "editor.tabSize": 4, "editor.insertSpaces": true, "files.trimTrailingWhitespace": true, + // Add a visual ruler for the typescript linting line length + "editor.rulers": [120], "search.exclude": { "**/node_modules": true, @@ -13,4 +15,4 @@ // Lock the TypeScript SDK path to the version we use "typescript.tsdk": "./node_modules/typescript/lib" -} \ No newline at end of file +}