support setting the severity for a rule in the cofig file

Issue #90 new
JinZhuHuang created an issue

Is setting the severity for a rule in the cofig file supported?

for example, the default severity for "UndetachedDelegate" rule is 5, could we set it to 9 in the config file?

Comments (1)

  1. Ali Rantakari repo owner

    This is currently not supported, but I will take the proposal into consideration.

    This feature is however nontrivial because severities are a property of diagnostics rather than rules — in other words, a rule can emit diagnostics of different severities depending on the context.

  2. Log in to comment