Configure max line-length via file?


I’m using setting up a new project using an existing Enterprise Edition Version 8.4.1 (build 35646) SonarQube server.

This server has a profile that use the YAML Analyzer (YAML) line-length max rule with the default value of 80 characters per line. However the standard for my project is to use 120 characters per line.

Is it possible to configure this value via my file?


Welcome to the community!

It’s not possible to configure rule parameters via analysis properties. What you could do is create a 2nd profile (perhaps an inherited profile) with a different value for that rule parameter & assign your project to that profile.


Thanks Ann!

Not the answer I was hoping for, but it’s great to know I should stop searching for a way to do this.

Thanks again.