fix bug in lint rule, add docs for rule and update name so it's clear this is only for buttons currently

This commit is contained in:
Jens Vannerum
2024-09-20 16:45:05 +02:00
parent 7ade453218
commit 2380d4e751
4 changed files with 13 additions and 9 deletions

View File

@@ -10,12 +10,12 @@ import {
bundle,
RuleExports,
} from '../../util/structure';
import * as noDisabledAttr from './no-disabled-attr';
import * as noDisabledAttributeOnButton from './no-disabled-attribute-on-button';
import * as themedComponentUsages from './themed-component-usages';
const index = [
themedComponentUsages,
noDisabledAttr,
noDisabledAttributeOnButton,
] as unknown as RuleExports[];