Skip to content

Commit aff3560

Browse files
committed
Remove unnecessary comments from formatter code
1 parent becb901 commit aff3560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arduino-ide-extension/src/node/clang-formatter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ function styleJson({
147147
UseTab,
148148
}: ClangFormatOptions): Record<string, unknown> {
149149
// 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
150+
const defaultConfig = require('../../src/node/default-formatter-config.json');
151151
return {
152152
...defaultConfig,
153-
TabWidth, // 2. override the default values with the user-defined ones
153+
TabWidth,
154154
UseTab,
155155
};
156156
}

0 commit comments

Comments
 (0)