Commit ce774de
Add dotnet format pre-commit hook and CLAUDE.md symlink (#753)
* Add dotnet format pre-commit hook and CLAUDE.md symlink
- Symlink CLAUDE.md -> AGENTS.md so Claude Code loads the existing
agent instructions (mirrors the .aider.md/.clinerules/.cursorrules pattern)
- Replace the buried "Run dotnet format before commit" line in AGENTS.md
with a dedicated Formatting section that spells out the exact command
(whitespace + style only; analyzers is slow/noisy) and flags merge
commits as a known style-drift source
- Add a local pre-commit hook that runs both subcommands with
--verify-no-changes when .cs files are staged, so drift fails the
commit instead of being noticed in CI or review
Run 'pre-commit install' once per clone to activate the hook.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* chore: cleanup after precommit hook updates
Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
---------
Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 32392ce commit ce774de
51 files changed
Lines changed: 464 additions & 453 deletions
File tree
- .vscode
- OSLC4Net_SDK
- .config
- Examples
- OSLC4Net.Client.Jazz/Oslc/Jazz
- OSLC4Net.Client.Samples
- Properties
- OSLC4NetExamples.Server.NetCoreApi
- Models
- scripts
- OSLC4Net.ChangeManagement
- OSLC4Net.Client/Oslc
- OSLC4Net.Core.Query
- Grammars
- Impl
- OSLC4Net.Core
- Attribute
- Model
- Tests
- OSLC4Net.Core.DotNetRdfProviderTests
- Properties
- OSLC4NetExamples.Server.Tests
- Models
- TestData
- docs/images
- misc
- _static
- instructions
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
| |||
99 | 97 | | |
100 | 98 | | |
101 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
102 | 113 | | |
103 | 114 | | |
104 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments