Skip to content

Commit

Permalink
docs(rule-descriptions): add note intead of empty table (#2221)
Browse files Browse the repository at this point in the history
  • Loading branch information
straker authored May 11, 2020
1 parent 7ce7b00 commit fad7982
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 5 additions & 1 deletion build/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,11 @@ function buildRules(grunt, options, commons, callback) {
${description.intro ? description.intro : ''}
${descriptionTableHeader}${description.rules
${
description.rules.length
? descriptionTableHeader
: '_There are no matching rules_'
}${description.rules
.map(function(row) {
return '| ' + row.join(' | ') + ' |';
})
Expand Down
4 changes: 1 addition & 3 deletions doc/rule-descriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,4 @@ Rules we are still testing and developing. They are not enabled by default in ax

Deprecated rules are not enabled by default and will be removed in the next major release.

| Rule ID | Description | Impact | Tags | Issue Type |
| :------ | :---------- | :----- | :--- | :--------- |

_There are no matching rules_

0 comments on commit fad7982

Please sign in to comment.