Skip to content

Commit

Permalink
Merge torrust#103: Update Visual Studio Code config to follow Tracker…
Browse files Browse the repository at this point in the history
… conventions

e6c5e30 feat: update vscode config to follow Tracker conventions (Jose Celano)

Pull request description:

  Same configuration as https://github.com/torrust/torrust-tracker.

  It does not enforce it in CI because there are a lot of errors for Clippy in `pedantic` mode.

  ```
  cargo clippy --all-targets -- -D clippy::pedantic
  ```

Top commit has no ACKs.

Tree-SHA512: da65ab4bf535f26b95d70b1859e21eab623602b2f6ce33608add2a7e9d287f3d42e2b886c6be1c01e8049e06384a3c30f7a70e8bd51d5e5f9d432f055c316ec2
  • Loading branch information
josecelano committed Apr 18, 2023
2 parents 90f217e + e6c5e30 commit ca696ad
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"streetsidesoftware.code-spell-checker",
"rust-lang.rust-analyzer"
]
}
12 changes: 7 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"[rust]": {
"editor.formatOnSave": true
},
"rust-analyzer.checkOnSave.command": "clippy",
}
"[rust]": {
"editor.formatOnSave": true
},
"rust-analyzer.checkOnSave.command": "clippy",
"rust-analyzer.checkOnSave.allTargets": true,
"rust-analyzer.checkOnSave.extraArgs": ["--", "-W", "clippy::pedantic"]
}

0 comments on commit ca696ad

Please sign in to comment.