Hi there,

I'm trying to add some static lint checks to CI, now OCLint(for c, c++ and
objective-c) and AndroidLint already get ready in CI.

But OCLint and AndroidLint have too many rules, many of which have little
impact. so maybe should we discuss about which rules to keep or which rules
to remove.


OCLint Rule List: http://docs.oclint.org/en/stable/rules/index.html

AndroidLint Rule List: http://tools.android.com/tips/lint-checks

AndroidLint Help: http://www.androiddocs.com/tools/help/lint.html


The below is the doctest
<https://github.com/onqtam/doctest/blob/master/.travis.yml> reference for
OCLint:

```

-disable-rule=ShortVariableName \

          -disable-rule=LongLine \

          -disable-rule=LongMethod \

          -disable-rule=HighNcssMethod \

          -disable-rule=LongVariableName \

          -disable-rule=HighCyclomaticComplexity \

          -disable-rule=HighNPathComplexity \

          -disable-rule=UnusedLocalVariable \

          -disable-rule=DoubleNegative \

          -disable-rule=MultipleUnaryOperator \

          -disable-rule=DeepNestedBlock \

```


Best Wishes.

RenMin Wang

Reply via email to