From 9b72857f44b0053e09906b79dc81cc001c4980aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 4 Feb 2026 08:54:11 -0300 Subject: [PATCH] guidelines: style: Update C++ and Rust information MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- guidelines/style.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/guidelines/style.md b/guidelines/style.md index 6b40f6c..c39424a 100644 --- a/guidelines/style.md +++ b/guidelines/style.md @@ -61,7 +61,8 @@ void setWidth(int width); - Use all lower case and `-` in place of spaces for directory and file names (eg. `src/`, `icon-blue.png`) ## Language-specific -- c / c++ +- C / C++ + - Use C++14 or newer standard - Use `()` instead of `(void)` for functions with no parameters - Do not add `;` after method definitions - Python @@ -86,6 +87,10 @@ void setWidth(int width); - One component per `.vue` file - Use Vuetify theme colors (`primary`, `success`, etc.) instead of hardcoded colors - Clear intervals/timeouts in `onUnmounted()` or `beforeDestroy()` +- Rust + - Follow standard Rust conventions and idioms + - Use `cargo fmt` for formatting + - Use `cargo clippy` for linting ## IDEs Here you can find some nice configurations to avoid style problems.