1

I want to exclude any rules in swift.

For example, I want to exclude "duprecated blocks". Althouch it duprecated a little, but I want to prioritize readability.

In the case of Java, when I want to exclude warnings, I can use "@SupressWarnings" annotations.

Does swift have similar functions ?

1 Answers1

1

There are a couple ways of suppressing these issues:

G. Ann - SonarSource Team
  • 22,346
  • 4
  • 40
  • 76