Improve if condition break (#18401)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
This commit is contained in:
1 parent
ce664cce5c
commit
374138ac6b
34 files changed
+794
-75
No files matched your search
@@ -0,0 +1,97 @@
|
||||
if (!(
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference"));
|
||||
|
||||
while (!(
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference"));
|
||||
|
||||
do {} while (!(
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference"));
|
||||
|
||||
|
||||
if (!!(
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference"));
|
||||
|
||||
if(typeof (
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference"));
|
||||
|
||||
|
||||
if ( // comment
|
||||
!!(
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference"));
|
||||
|
||||
if (! // comment
|
||||
!(
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference"));
|
||||
|
||||
if (!! // comment
|
||||
(
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference"));
|
||||
|
||||
if(1){
|
||||
//
|
||||
}else {if(! (
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference")) do {
|
||||
//
|
||||
} while (! (
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference")) else if (! (
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference")) while (! (
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference")) {
|
||||
//
|
||||
}}
|
||||
if(2){
|
||||
//
|
||||
}else {if( (
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference")) do {
|
||||
//
|
||||
} while ( (
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference")) else if ( (
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference")) while ( (
|
||||
node.type === "ImportExpression" ||
|
||||
node.type === "TSImportType" ||
|
||||
node.type === "TSExternalModuleReference")) {
|
||||
//
|
||||
}}
|
||||
|
||||
if ((
|
||||
node.type === "ImportExpression" &&
|
||||
node.type === "TSImportType" &&
|
||||
node.type === "TSExternalModuleReference") || !(
|
||||
node.type === "ImportExpression" &&
|
||||
node.type === "TSImportType" &&
|
||||
node.type === "TSExternalModuleReference")) {}else if (!(
|
||||
node.type === "ImportExpression" &&
|
||||
node.type === "TSImportType" &&
|
||||
node.type === "TSExternalModuleReference") || (
|
||||
node.type === "ImportExpression" &&
|
||||
node.type === "TSImportType" &&
|
||||
node.type === "TSExternalModuleReference")){}
|
||||
Reference in new issue
Block a user