Skip to content

Commit

Permalink
allow exceptions for all profiles (#1711)
Browse files Browse the repository at this point in the history
  • Loading branch information
deniak authored Mar 27, 2023
1 parent 2bdde04 commit 26effb7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,6 @@ Specberus.prototype.error = function (rule, key, extra) {
else name = rule.name;
if (
this.shortname !== undefined &&
(this.config.status === 'WD' ||
this.config.status === 'CR' ||
this.config.status === 'CRD' ||
this.config.status === 'DRY' ||
this.config.status === 'DNOTE' ||
this.config.status === 'NOTE') &&
this.exceptions.has(this.shortname, name, key, extra)
)
this.warning(rule, key, extra);
Expand Down

0 comments on commit 26effb7

Please sign in to comment.