What is unclear to me is how rules are named without PS prefix, for example instead of PSAvoidUsingEmptyCatchBlock rule is documented as AvoidUsingEmptyCatchBlock
I keep my own settings file where all the rules are prefixed with PS, however since version 1.21.0 rules are no longer prefixed, a few new rules in this version are:
I've been reading rules documentation here
What is unclear to me is how rules are named without
PS
prefix, for example instead ofPSAvoidUsingEmptyCatchBlock
rule is documented asAvoidUsingEmptyCatchBlock
I keep my own settings file where all the rules are prefixed with
PS
, however since version 1.21.0 rules are no longer prefixed, a few new rules in this version are:So how do I put these rules into
*.psd1
settings file? do I prefix them withPS
or not?