OCLint生成报告报错oclint: error: cannot open report output file
oclint: error: cannot open report output file xxxpath
解决方案:
使用 ">> oclint_result.html" 代替 '-o oclint_result.html'
比如:
oclint-json-compilation-database -e Pods -e React
-- -report-type html
-rc LONG_LINE=200
-rc LONG_VARIABLE_NAME=30
-disable-rule ShortVariableName
-max-priority-1=100000
-max-priority-2=100000
-max-priority-3=100000 >> oclint_result.html
网友评论