Enforce const enums

Fixes #1408
This commit is contained in:
Daniel Imms
2018-04-23 17:35:41 -07:00
parent 45b4429712
commit fcde7be62a
7 changed files with 9 additions and 6 deletions
+3
View File
@@ -92,6 +92,9 @@
"naming-convention": [
true,
{"type": "property", "modifiers": ["public", "static", "const"], "format": "UPPER_CASE"}
],
"prefer-const-enum": [
true
]
}
}