Skip to content

Commit 827966e

Browse files
author
Jan Nils Ferner
authored
Merge pull request #46 from messerli-informatik-ag/relax-hungarian-rules
Explicitly allow js and db prefixes
2 parents cd3e56c + 33dd49e commit 827966e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

build/stylecop.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
"settings": {
44
"orderingRules": {
55
"usingDirectivesPlacement": "outsideNamespace"
6+
},
7+
"namingRules": {
8+
"allowedHungarianPrefixes": [
9+
"js",
10+
"db"
11+
]
612
}
713
}
814
}

changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ Initial release
3636

3737
## Unreleased
3838
* Breaking: Treat all nullability warnings as errors.
39-
* Lints involving single line comments have been reduced to warnings to make temporary code commenting easier.
39+
* Lints involving single line comments have been reduced to warnings to make temporary code commenting easier.
40+
* The hungarian notation rule has been relaxed to allow `js` and `db` since those two are common "false positives".

0 commit comments

Comments
 (0)