We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent becb901 commit aff3560Copy full SHA for aff3560
arduino-ide-extension/src/node/clang-formatter.ts
@@ -147,10 +147,10 @@ function styleJson({
147
UseTab,
148
}: ClangFormatOptions): Record<string, unknown> {
149
// Source: https://github.com/arduino/tooling-project-assets/tree/main/other/clang-format-configuration
150
- const defaultConfig = require('../../src/node/default-formatter-config.json'); // 1. require the JSON
+ const defaultConfig = require('../../src/node/default-formatter-config.json');
151
return {
152
...defaultConfig,
153
- TabWidth, // 2. override the default values with the user-defined ones
+ TabWidth,
154
155
};
156
}
0 commit comments