File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -145,11 +145,12 @@ function resolveMatches(candidate, context) {
145145
146146 let matchedPlugins = resolveMatchedPlugins ( classCandidate , context )
147147
148- let sorted = sortAgainst ( variants , context . variantMap )
149- if ( sorted . toString ( ) !== variants . toString ( ) ) {
150- let corrected = sorted . reverse ( ) . concat ( classCandidate ) . join ( ':' )
151- throw new Error ( `Class ${ candidate } should be written as ${ corrected } ` )
152- }
148+ // TODO: Reintroduce this in ways that doesn't break on false positives
149+ // let sorted = sortAgainst(variants, context.variantMap)
150+ // if (sorted.toString() !== variants.toString()) {
151+ // let corrected = sorted.reverse().concat(classCandidate).join(':')
152+ // throw new Error(`Class ${candidate} should be written as ${corrected}`)
153+ // }
153154
154155 if ( matchedPlugins === null ) {
155156 return [ ]
You can’t perform that action at this time.
0 commit comments