Add qodana CI checks #1
4722 new problems found by Qodana for JS
Qodana for JS
4722 new problems were found
Inspection name | Severity | Problems |
---|---|---|
ESLint |
🔴 Failure | 254 |
Duplicate declaration |
🔶 Warning | 903 |
Unused local symbol |
🔶 Warning | 828 |
Comma expression |
🔶 Warning | 718 |
Equality operator may cause type coercion |
🔶 Warning | 561 |
Unused assignment |
🔶 Warning | 439 |
Redundant local variable |
🔶 Warning | 186 |
Mismatched JSDoc and function signature |
🔶 Warning | 138 |
Redundant character escape |
🔶 Warning | 75 |
Pointless statement or boolean expression |
🔶 Warning | 68 |
Unnecessary non-capturing group |
🔶 Warning | 66 |
Potentially invalid constructor usage |
🔶 Warning | 51 |
Syntax errors and unresolved references in JSDoc |
🔶 Warning | 42 |
Unnecessary semicolon |
🔶 Warning | 24 |
Redundant 'if' statement |
🔶 Warning | 24 |
Assignment used as condition |
🔶 Warning | 18 |
Primitive type object wrapper used |
🔶 Warning | 13 |
Mismatched query and update of collection |
🔶 Warning | 12 |
Bitwise operator usage |
🔶 Warning | 11 |
Unreachable code |
🔶 Warning | 11 |
Single character alternation |
🔶 Warning | 9 |
Exception used for local control-flow |
🔶 Warning | 7 |
Fallthrough in 'switch' statement |
🔶 Warning | 5 |
Referencing mutable variable from closure |
🔶 Warning | 5 |
Void function return value used |
🔶 Warning | 4 |
Begin or end anchor in unexpected position |
🔶 Warning | 4 |
Unneeded last comma in object literal |
🔶 Warning | 3 |
Potentially invalid reference to 'this' from closure |
🔶 Warning | 3 |
Pointless arithmetic expression |
🔶 Warning | 3 |
Incorrect usage of JSDoc tags |
🔶 Warning | 2 |
Unneeded last comma in array literal |
🔶 Warning | 2 |
Object is 'null' or 'undefined' |
🔶 Warning | 2 |
Suspicious variable/parameter name combination |
🔶 Warning | 2 |
Loop statement that doesn't loop |
🔶 Warning | 2 |
Variable is assigned to itself |
🔶 Warning | 2 |
Redundant conditional expression |
🔶 Warning | 2 |
Unnecessary 'continue' statement |
🔶 Warning | 2 |
Unnecessary 'return' statement |
🔶 Warning | 2 |
Use of 'caller' property |
🔶 Warning | 1 |
Constant conditional expression |
🔶 Warning | 1 |
'continue' or 'break' inside 'finally' block |
🔶 Warning | 1 |
Import can be shortened |
🔶 Warning | 1 |
Statement with empty body |
🔶 Warning | 1 |
Misplaced @flow flag |
🔶 Warning | 1 |
Consecutive commas in array literal |
🔶 Warning | 1 |
Variable is declared and being used in different 'case' clauses |
🔶 Warning | 1 |
Unreachable 'case' branch of a 'switch' statement |
🔶 Warning | 1 |
Duplicate character in character class |
🔶 Warning | 1 |
'throw' inside 'finally' block |
🔶 Warning | 1 |
Unnecessary label on 'continue' statement |
🔶 Warning | 1 |
Deprecated symbol used |
◽️ Notice | 139 |
Regular expression can be simplified |
◽️ Notice | 36 |
Result of method call returning a promise is ignored |
◽️ Notice | 11 |
Expression statement which is not assignment or call |
◽️ Notice | 10 |
Missing await for an async function call |
◽️ Notice | 3 |
Implicitly declared global JavaScript variable |
◽️ Notice | 3 |
Duplicated code fragment |
◽️ Notice | 2 |
Abstract class constructor can be made protected |
◽️ Notice | 2 |
Redundant 'await' expression |
◽️ Notice | 1 |
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at qodana-support@jetbrains.com
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check notice on line 35598 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Expression statement which is not assignment or call
Expression statement is not assignment or call
Check notice on line 49157 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Expression statement which is not assignment or call
Expression statement is not assignment or call
Check notice on line 35605 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Expression statement which is not assignment or call
Expression statement is not assignment or call
Check notice on line 118357 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Expression statement which is not assignment or call
Expression statement is not assignment or call
Check notice on line 35603 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Expression statement which is not assignment or call
Expression statement is not assignment or call
Check notice on line 35604 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Expression statement which is not assignment or call
Expression statement is not assignment or call
Check notice on line 35593 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Expression statement which is not assignment or call
Expression statement is not assignment or call
Check notice on line 35583 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Expression statement which is not assignment or call
Expression statement is not assignment or call
Check notice on line 35582 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Expression statement which is not assignment or call
Expression statement is not assignment or call
Check notice on line 35588 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Expression statement which is not assignment or call
Expression statement is not assignment or call
Check warning on line 2400 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Use of 'caller' property
Use of 'caller' property
Check warning on line 92532 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 48975 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 48867 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 49007 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 32910 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 94298 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 102721 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 51236 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 91828 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 72120 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 6937 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 51646 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 48177 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 92531 in .yarn/releases/yarn-1.22.19.cjs
github-actions / Qodana for JS
Comma expression
Comma expression