diff options
| author | Nicolas Paul <n@nc0.fr> | 2024-03-04 11:39:59 +0100 |
|---|---|---|
| committer | Nicolas Paul <n@nc0.fr> | 2024-03-04 11:39:59 +0100 |
| commit | 898564ea55434542e4b6b42a17def70b415d864c (patch) | |
| tree | 035356ab12fb0dfefdf2d8b1f1131b275904fcbe | |
| parent | 14b12b814ce1fdbc3555f53fa15f1d5fa543a321 (diff) | |
Add VSCode configuration for style
This patch provides a few settings to make VSCode follows the linting
tools used in the project.
Signed-off-by: Nicolas Paul <n@nc0.fr>
| -rw-r--r-- | .vscode/extensions.json | 6 | ||||
| -rw-r--r-- | .vscode/settings.json | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..0f6ed26 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,6 @@ +{ + "recommendations": [ + "xaver.clang-format", + "dbaeumer.vscode-eslint", + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index ae059e6..4d3c47c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,14 @@ "LICENSE": "plaintext", "AUTHORS": "plaintext", "NOTICE": "plaintext" + }, + "[javascript]": { + "editor.defaultFormatter": "xaver.clang-format" + }, + "[json]": { + "editor.defaultFormatter": "xaver.clang-format" + }, + "[jsonc]": { + "editor.defaultFormatter": "xaver.clang-format" } -}
\ No newline at end of file +} |
