Display issues for disabled rules in the commit UI

Allow errors for disabled rules to block upload
Include warnings for disabled rules in the changeset tags (re: #6325)
This commit is contained in:
Quincy Morgan
2019-05-07 13:07:31 -04:00
parent 4a379480ad
commit 5160754dcc
2 changed files with 2 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ export function uiCommit(context) {
// add counts of warnings generated by the user's edits
var warnings = context.validator()
.getIssuesBySeverity({ what: 'edited', where: 'all', includeIgnored: true }).warning;
.getIssuesBySeverity({ what: 'edited', where: 'all', includeIgnored: true, includeDisabledRules: true }).warning;
var warningsByType = utilArrayGroupBy(warnings, 'type');
for (var warningType in warningsByType) {