Skip to content
Snippets Groups Projects
Select Git revision
  • c4ec53cac4b8f45a79d91795d42adc167fb335ec
  • master default protected
  • gh-pages
  • dependabot/npm_and_yarn/nock-14.0.6
  • dependabot/npm_and_yarn/react-19.1.0
  • dependabot/npm_and_yarn/react-dom-19.1.0
  • server-2025-02-01-6100669a
  • server-2024-11-01-87cba042
  • server-2024-10-01-6875b7c8
  • dependabot/npm_and_yarn/path-to-regexp-8.2.0
  • server-2024-09-01-3d52575c
  • daily-tests-gha2
  • daily-tests-gha
  • server-2023-12-01-92d8fb8e
  • server-2023-11-01-a80c93fd
  • server-2023-10-01-31096085
  • coc-v2
  • server-2023-09-01-8edc3810
  • server-2023-08-01-75858a03
  • server-2023-07-01-02183d8d
  • test-9317
  • server-2025-07-01
  • 5.0.2
  • 5.0.1
  • 5.0.0
  • server-2025-06-01
  • server-2025-05-01
  • server-2025-04-03
  • server-2025-03-02
  • server-2025-03-01
  • server-2025-02-02
  • server-2025-01-01
  • server-2024-12-01
  • server-2024-11-02
  • 4.1.0
  • server-2024-09-25
  • server-2024-09-02
  • server-2024-08-01
  • server-2024-07-01
  • 4.0.0
  • server-2024-06-01
41 results

write-migrations-config.js

Blame
  • Coding style

    Use these tools to find and fix issues.

    • Use clang-format to format the code.
    • Use clang-tidy to check the code for other potential issues.

    Follow these guidelines while writing code.

    • Indentation : 2 spaces, no tabulation
    • Opening brace at the end of the line
    • Naming : Choose self-describing variable name
      • class : PascalCase
      • namespace : PascalCase
      • variable : camelCase, no prefix/suffix (_, m_,...) for class members
    • Include guard : #pragma once (no #ifdef __MODULE__ / #define __MODULE__ / #endif)
    • Includes :
      • files from the project : #include "relative/path/to/the/file.h"
      • external files and std : #include <file.h>
      • use includes relative to included directories like src, not relative to the current file. Don't do: #include "../file.h"
    • Only use primary spellings for operators and tokens
    • Use auto sparingly. Don't use auto for fundamental/built-in types and fixed width integer types, except when initializing with a cast to avoid duplicating the type name.
      // Examples:
      auto* app = static_cast<DisplayApp*>(instance);
      auto number = static_cast<uint8_t>(variable);
      uint8_t returnValue = MyFunction();
    • Use nullptr instead of NULL