August 2020 (version 1.40.0)

1.40.0 Update

Welcome to the new DeepScan updates!

Please kindly go ahead with the highlights for the latest release.

New Rules

The following Vue.js rules are introduced:

Analysis Improvements

  • Improve analysis precision of inline JavaScript code inside Vue template
  • Improve analysis precision by reflecting Vue prop type declarations
  • Improve analysis precision of Vue computed properties by reflecting the getter return values
  • Detect TOO_MANY_ARGS alarms at method calls inside Vue SFC
  • Detect BAD_ASSIGN_IN_CONDITON and CONSTANT_CONDITION alarms at Vue v-show expression

To date, the pull request was set failure when any unresolved new issues were found. Then the failed check blocked to merge the pull request for repositories with required status checks.

Now you can fine control your commit status checks by detected issues' priority. If you want to ignore all issues or the issues with lower impacts, check out the Commit Status setting in the project settings and choose your preference. Commit status setting

Miscellaneous

  • Increase the maxBuffer for the stable execution of ESLint analysis

Bug Fixes

  • A false alarm for CALL_NON_FUNC may occur if TypeScript type parameter is used inside optional chaining
  • A false alarm for UNUSED_DECL occurs if named function expression is used at Vue v-on directive
  • A false alarm for SYNTAX_ERROR may occur if parentheses are used inside the pattern expression of Vue v-for directive
  • False alarms for REACT_MISMATCHED_TYPE_OF_PROP and REACT_USELESS_PROP_TYPES may occur for class components having decorators
  • Analyzer may abnormally terminate when Vue directive with an empty name is used