September 2018 (version 1.17.0-beta)
Welcome to the new DeepScan updates. Although our original plan was to release in next month bringing with the team support, we wanted to release quickly a number of updates that we hope you will like.
Please kindly go ahead with the highlights for this release.
This version includes a number of updates that we hope you’ve found some of them helpful.
The key highlights are:
- Enhanced TypeScript support - We've enhanced TypeScript support to the 2.9 from 2.5! Try it out.
- New rules - More Vue.js specialized rules arrive!
New rules introduced in this release:
- VUE_BAD_PROPERTY_SET_DELETE - Check for an invalid argument of
- VUE_BAD_TRANSITION_GROUP - Check for an invalid use of
transition-groupin Vue template
- VUE_TEMPLATE_WITH_V_SHOW - Do not have
v-showdirective in a
- VUE_TEXTAREA_WITH_USELESS_CHILDREN - Do not have children elements under
- VUE_V_BIND_ON_DIRECTIVE - Do not use
v-bindon Vue directives
- VUE_V_IF_WITH_V_FOR - Check for loop variable usage when
v-fordirectives are used together
- BAD_TYPEOF_COMPARISON is enhanced with data-flow analysis
- BAD_BITWISE_OPERATOR is fine-tuned for more alarm detection
- FORIN_ARRAY is fine-tuned for more alarm detection
- INSUFFICIENT_NULL_CHECK is fine-tuned for more alarm detection
Enhanced TypeScript Support
We are happy to announce the TypeScript 2.9 support.
To date, we promised TypeScript 2.5 support, but now we get to support TypeScript 2.9! So you can analyze your code leveraging the latest features like:
- Numeric Separators
- Definite Assignment Assertion
- Conditional Types
- Generic type arguments in JSX elements
Note that the
import() types feature is not yet supported.
- Impact is lowered to Medium for BAD_BITWISE_OPERATOR alarms on
- UNUSED_VAR_ASSIGN alarm message is sometimes invalid for
letvariables inside loop
Thank you to the following folks who help to make DeepScan better:
- @gene kindly reported some silly alarms about latest TypeScript features