Skip to content

Commit 6de2ecf

Browse files
authored
Update clang-tidy.md
1 parent 01ec199 commit 6de2ecf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/code-quality/clang-tidy.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If neither of the "enable" options are specified, Visual Studio will select the
4444
### CMake Settings
4545
To edit your clang-tidy settings, open your CMake Settings, and select **Edit JSON** in the CMake Project Settings Editor. You can use the keys above to fill out your clang-tidy specifications in the CMake Settings json file.
4646
An example CMake settings implementation looks like this:
47-
```
47+
```json
4848
{
4949
"configurations": [
5050
{
@@ -62,7 +62,8 @@ An example CMake settings implementation looks like this:
6262
### CMake Presets
6363
The same keys can be used in your CMake presets via the `vendor` object.
6464
An example CMake preset implementation looks like this:
65-
```"configurePreset": [
65+
```json
66+
"configurePreset": [
6667
{ "name": "base",
6768
....
6869
"vendor": {

0 commit comments

Comments
 (0)