In our application we are using StyleCop+ and SignalR. We did name our entities SignalRUser and SignalRConnection and StyleCop+ does not like this. I could suppress the message for these entities, but our variables are named signalRUser or else.
I already added SignalR to the list of abbreviations and recognized words, but StyleCop+ still says
SP0100 : StyleCopPlus.StyleCopPlus : Local variable name signalRUser doesn't conform the specified style: sampleName.
How can I tell StyleCop+ to ignore the "misspelling"?
If you add
SignalR
to Compound words (or abbreviations) list it should allowSignalRUser
,SignalRConnection
orMySignalRWhatever
.However,
singalRUser
will not still be allowed, I suppose, since it's lowercase.Alternatively, you could add just
R
to that list. In that case, any name likemyRFeature
,signalR
orRType
should be allowed as well.