Instead of passing the configuration as arguments (see Jon Boydell's answer), you can also create a .oclint file named .oclint in the project directory.
Here is an example file that sets up several things:
rules: - LongLine disable-rules: rulePaths: - /etc/rules rule-configurations: - key: LONG_LINE value: 20 output: filename report-type: xml max-priority-1: 10 max-priority-2: 20 max-priority-3: 30 enable-clang-static-analyzer: false
source share