Skip to content

Commit

Permalink
Fixed VS Code format on save (#1028)
Browse files Browse the repository at this point in the history
* Fixed VS Code format on save

* Re-saved the json files using the new settings
  • Loading branch information
rickardp authored Feb 4, 2024
1 parent ea77bfe commit ecf51cb
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[*]
trim_trailing_whitespace = true
insert_final_newline = true
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,3 @@ dmypy.json
dependencies
cuda_build
output/
.vscode/*
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"ms-python.python",
"charliermarsh.ruff",
"twxs.cmake"
]
}
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ruff.fixAll": true,
"ruff.lint.run": "onType",
"editor.codeActionsOnSave": {
"source.fixAll": "always"
}
}

0 comments on commit ecf51cb

Please sign in to comment.