Skip to content

Commit

Permalink
feat: add check to for-direction rule when the condition is in revers…
Browse files Browse the repository at this point in the history
…e order
  • Loading branch information
ild0tt0re committed Nov 13, 2023
1 parent 6d470d2 commit 88b2ede
Show file tree
Hide file tree
Showing 7 changed files with 332 additions and 102 deletions.
4 changes: 3 additions & 1 deletion Makefile.js
Expand Up @@ -216,7 +216,9 @@ function generateRuleIndexPage() {
if (rule.meta.deprecated) {
ruleTypesData.deprecated.push({
name: basename,
replacedBy: rule.meta.replacedBy || []
replacedBy: rule.meta.replacedBy || [],
fixable: !!rule.meta.fixable,
hasSuggestions: !!rule.meta.hasSuggestions
});
} else {
const output = {
Expand Down

0 comments on commit 88b2ede

Please sign in to comment.