When using the hook Checkstyles for Bitbucket Server (at.apogeum.bitbucket.checkstyle), it checks all files in an equal way.
How do I run a different (less strict) checkstyle on test classes, or disable checkstyle alltogether on test?
That Stack Overflow post appears to answer a different question. Please elaborate why you think that this answers my question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This post answers to your question: "disable checkstyle alltogether on test?". You should put
//CHECKSTYLE:OFF
before the code which should be ingored by checkstyle. How run different checkstyle on particular classes I don't know, but this link might be a start point.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.