This plugin disallows the use of certain HTML tags.
Inline Modal and Inline ActionSheet from Ionic6. However, since my team uses Controller uniformly, I created a rule to prevent accidental Inline.
Disallow the use of elements configured in .eslintrc.json
.
example:
{
"rules": {
"@rdlabo/rules/deny-element": [
"error",
{
"elements": ["ion-modal"]
}
]
}
}
<ion-modal></ion-modal>
<!-- error -->
const options: {
elements: string[];
};