Correcting spelling rule in StyleCop -
stylecop rule sa1642 insists documentation header constructors must begin 'initializes new instance of...'.
whereas agree rule itself, can't bring myself accept stylecop enforcing spellings consider ugly. it's 'initialises' 's'!!!
is possible modify expected text, or must disable sensible rule?
current stylecop version doesn't support customization documentation rules. , there no short-term plans support it.
as possible workaround (instead of disabling entire rule) refer third-party custom rules. example, stylecop+ allows writing "initializes new instance." "initializes new instance of class1 class."
so guess extended allow "initialises ...". if want force "initialises" , prohibit "initializes" seems need wait customizable documentation rules support.
Comments
Post a Comment