We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dd917e commit 27d868dCopy full SHA for 27d868d
lib/rules/enforces-shorthand.js
@@ -243,7 +243,7 @@ module.exports = {
243
}
244
// Test if the body of the class matches, eg. 'h-' inside 'h-10'
245
if (mode === 'value') {
246
- const bodyMatch = inputSet.some((inputClassPattern) => inputClassPattern === remainingClass.body);
+ const bodyMatch = inputSet.some((inputClassPattern) => `${mergedConfig.prefix}${inputClassPattern}` === remainingClass.body);
247
if ([undefined, null].includes(mergedConfig.theme.size)) {
248
return false;
249
0 commit comments