Skip to content

Commit

Permalink
refactor: Update project configuration files
Browse files Browse the repository at this point in the history
- Remove unnecessary using statements and update namespaces in multiple test and builder files
- Update version of Aspire to 8.2.0 and Marten.AspNetCore to 7.26.4
- Add Husky task runner configuration file
- Remove unused files: .commitlintrc.js, .husky/commit-msg, .husky/pre-commit, package.json, tsconfig.json
- Update .config/dotnet-tools.json to include commands in an array format
- Add warning for IDE0040: Accessibility modifiers required in .editorconfig
  • Loading branch information
foxminchan committed Sep 16, 2024
1 parent f740c70 commit 90e2572
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 56 deletions.
1 change: 0 additions & 1 deletion .commitlintrc.js

This file was deleted.

17 changes: 14 additions & 3 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,24 @@
"tools": {
"aspirate": {
"version": "8.0.7",
"commands": ["aspirate"],
"commands": [
"aspirate"
],
"rollForward": false
},
"dotnet-reportgenerator-globaltool": {
"version": "5.3.8",
"commands": ["reportgenerator"],
"commands": [
"reportgenerator"
],
"rollForward": false
},
"husky": {
"version": "0.7.1",
"commands": [
"husky"
],
"rollForward": false
}
}
}
}
2 changes: 2 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ charset = utf-8-bom
# .NET Coding Conventions #
###############################
[*.{cs,vb}]
# IDE0040: Accessibility modifiers required
dotnet_diagnostic.IDE0040.severity = warning
# Organize usings
dotnet_sort_system_directives_first = true
# this. preferences
Expand Down
1 change: 0 additions & 1 deletion .husky/commit-msg

This file was deleted.

1 change: 0 additions & 1 deletion .husky/pre-commit

This file was deleted.

11 changes: 11 additions & 0 deletions .husky/task-runner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://alirezanet.github.io/Husky.Net/schema.json",
"tasks": [
{
"name": "style",
"group": "pre-commit",
"command": "dotnet",
"args": ["format", "style", ".", "--verify-no-changes"]
}
]
}
Binary file removed bun.lockb
Binary file not shown.
23 changes: 0 additions & 23 deletions package.json

This file was deleted.

27 changes: 0 additions & 27 deletions tsconfig.json

This file was deleted.

0 comments on commit 90e2572

Please sign in to comment.