Skip to content

Commit f029833

Browse files
glennsartirkeithhill
authored andcommitted
(maint) Add visual ruler for line length (#1359)
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]
1 parent 790e6e2 commit f029833

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.vscode/settings.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"editor.tabSize": 4,
44
"editor.insertSpaces": true,
55
"files.trimTrailingWhitespace": true,
6+
// Add a visual ruler for the typescript linting line length
7+
"editor.rulers": [120],
68

79
"search.exclude": {
810
"**/node_modules": true,
@@ -13,4 +15,4 @@
1315

1416
// Lock the TypeScript SDK path to the version we use
1517
"typescript.tsdk": "./node_modules/typescript/lib"
16-
}
18+
}

0 commit comments

Comments
 (0)