Rule for Lines should not be too long to exclude import

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) * Developer Edition
  • v9.9.6
  • how is SonarQube deployed: zip, Docker, Helm - Docker
  • what are you trying to achieve - Customise a Rule
  • what have you tried so far to achieve this - Explored options to no avail

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Lines should not be too long

Can I add exclusions to this rule to exclude lines in code starting with import ?