From 49388737a47b5ad5d0a19758722b92f43928bdf1 Mon Sep 17 00:00:00 2001 From: Julian Schacher Date: Fri, 14 May 2021 13:18:30 +0200 Subject: [PATCH] Other: Specify a textwidth of 80 for JavaScript Specify a textwidth of 80 for code of this repo in `.js` files. Also add VSCode workspace settings to specify a textwith of 80. --- .vscode/settings.json | 7 +++++++ CONTRIBUTING.md | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..918a366 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "[javascript]": { + "editor.rulers": [80] + }, + + "vim.textwidth": 80 +} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b1f357f..32ea77d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,9 @@ # Contributing +## Textwidth + +For code of this repo in `.js` files, stick to a textwidth of 80. + ## Commit Message Format The commit message format is as follows: