Skip to content

Commit ecf51cb

Browse files
authored
Fixed VS Code format on save (#1028)
* Fixed VS Code format on save * Re-saved the json files using the new settings
1 parent ea77bfe commit ecf51cb

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

.editorconfig

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[*]
2+
trim_trailing_whitespace = true
3+
insert_final_newline = true

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,3 @@ dmypy.json
154154
dependencies
155155
cuda_build
156156
output/
157-
.vscode/*

.vscode/extensions.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"ms-python.python",
4+
"charliermarsh.ruff",
5+
"twxs.cmake"
6+
]
7+
}

.vscode/settings.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"ruff.fixAll": true,
3+
"ruff.lint.run": "onType",
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll": "always"
6+
}
7+
}

0 commit comments

Comments
 (0)