September 2024 (version 1.64.0)
Welcome to the new DeepScan updates. This release includes ESNext class auto accessor support and many improvements for suppressing excessive alarms.
Thank you for your continual love and support!
Analysis Improvements
- Support ESNext class auto accessors
- Filter-out more CONSTANT_CONDITION alarms on defensive type checking of parameters with type annotation
- Filter-out UNUSED_DECL alarms on Vue
<script setup>
compiler macros such asdefineProps()
because it is conventional to use a declaration form - Filter-out UNUSED_EXPR alarms on JSX elements at test code because they are often intended for various testing purposes
- Filter-out UNUSED_EXPR alarms on optional chaining appearing as separate statements because they are usually harmless and often intended for various purposes
- Restrict MISMATCHED_TYPE_OF_ARG detection on the optional
replacer
argument ofJSON.stringify()
Miscellaneous
- Make REACT_MISUSED_UPDATE_IN_SET_STATE alarm message more intuitive
- Recognize NULL_POINTER and CALL_NON_FUNC alarms as ESLint
no-unsafe-optional-chaining
when applicable
Bug Fixes
- A false alarm for VUE_MISUSED_PROPERTY_IN_DATA may occur for
inject
properties - A false alarm for VUE_OPTION_TYPO may occur for custom options
- Missing REACT_API_TYPO alarms related to
useRef()