[X] This improvement has not already been suggested.
[X] This improvement relates specifically to DelphiLint, not SonarDelphi, SonarQube, or Delphi.
Improvement description
Add explanatory documentation, ideally both on GitHub and the application itself, detailing the token types that DelphiLint supports.
This could include checking supplied tokens to ensure that they will have the level of authentication, e.g. squ_ prefix.
Could be worth also investigating which features SonarQube does not support with a project-level token and selectively disabling them with a visible warning if the token is not elevated enough.
Rationale
It is currently unclear which tokens are supported, and using the wrong token tends to result in a pretty vague message (the general 401 error). DelphiLint only seems to support user-level tokens, which is the least granular token type.
Prerequisites
Improvement description
Add explanatory documentation, ideally both on GitHub and the application itself, detailing the token types that DelphiLint supports. This could include checking supplied tokens to ensure that they will have the level of authentication, e.g.
squ_
prefix.Could be worth also investigating which features SonarQube does not support with a project-level token and selectively disabling them with a visible warning if the token is not elevated enough.
Rationale
It is currently unclear which tokens are supported, and using the wrong token tends to result in a pretty vague message (the general 401 error). DelphiLint only seems to support user-level tokens, which is the least granular token type.