semmle-qlci
8b866ade0e
Merge pull request #373 from asger-semmle/jsx-factory-import
...
Approved by xiemaisi
2018-10-30 10:35:49 +00:00
Esben Sparre Andreasen
90c77134af
JS: make use of getUnderlyingValue in js/useless-assignment-to-local
2018-10-29 09:22:53 +01:00
Esben Sparre Andreasen
ec1722c4db
JS: add utility SyntacticConstants::isNullOrUndefined
2018-10-29 09:22:53 +01:00
Asger F
3bd91bdf08
JS: introduce common class for Babel plugins
2018-10-26 12:55:37 +01:00
Asger F
91943ae2cb
JS: support transform-react-jsx plugin
2018-10-26 12:06:56 +01:00
Esben Sparre Andreasen
9c2ca9a7fa
JS: make js/unused-local-variable flag import statements
2018-10-18 11:49:45 +02:00
Esben Sparre Andreasen
595fe217dd
JS: support noop parentheses in js/useless-assignment-to-local
...
The syntatic recognizer `isNullOrUndef` did not handle expressions
that were wrapped in parentheses.
This eliminates some results here:
https://lgtm.com/projects/g/vuejs/vue/alerts?mode=tree&ruleFocus=7900088
2018-10-02 09:31:32 +02:00
Max Schaefer
06f43748b8
JavaScript: Generalize description of js/unused-local-variable.
...
The query also flags unused imports, functions and classes (which, of course, are just unused variables at the end of the day). This is now made more explicit in the description.
2018-08-06 09:34:38 +01:00
Pavel Avgustinov
b55526aa58
QL code and tests for C#/C++/JavaScript.
2018-08-02 17:53:23 +01:00