allow CSS Module pseudo-selector

This commit is contained in:
ChaosExAnima 2025-11-13 13:33:01 +01:00
parent c3d52ca772
commit c719ac23df
No known key found for this signature in database
GPG Key ID: 8F2B333100FB6117
2 changed files with 13 additions and 0 deletions

View File

@ -13,6 +13,10 @@
max-height: 50vh;
box-sizing: border-box;
:global(.emojione) {
margin: 0;
}
* {
box-sizing: border-box;
}

View File

@ -42,5 +42,14 @@ module.exports = {
],
},
},
{
'files': ['app/javascript/**/*.module.scss', 'app/javascript/**/*.module.css'],
rules: {
'selector-pseudo-class-no-unknown': [
true,
{ ignorePseudoClasses: ['global'] },
],
}
}
],
};