Enforce upper case for public const/enum members

Fixes #1406
This commit is contained in:
Daniel Imms
2018-04-23 17:17:21 -07:00
parent a3ce881897
commit 9942dc384d
4 changed files with 28 additions and 21 deletions
+6
View File
@@ -1,4 +1,5 @@
{
"rulesDirectory": ["tslint-consistent-codestyle"],
"rules": {
"array-type": [
true,
@@ -86,6 +87,11 @@
"check-type",
"check-type-operator",
"check-preblock"
],
"naming-convention": [
true,
{"type": "property", "modifiers": ["public", "static", "const"], "format": "UPPER_CASE"}
]
}
}