Skip to content

Commit

Permalink
(maint) Add visual ruler for line length (#1359)
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
glennsarti authored and rkeithhill committed Jun 12, 2018
1 parent 790e6e2 commit f029833
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -13,4 +15,4 @@

// Lock the TypeScript SDK path to the version we use
"typescript.tsdk": "./node_modules/typescript/lib"
}
}

0 comments on commit f029833

Please sign in to comment.