-
Star
(188)
You must be signed in to star a gist -
Fork
(39)
You must be signed in to fork a gist
-
-
Save discordier/ed4b9cba14652e7212f5 to your computer and use it in GitHub Desktop.
javascript | |
ES6ValidationInspection | |
JSAccessibilityCheckInspection | |
JSBitwiseOperatorUsageInspection | |
JSCheckFunctionSignaturesInspection | |
JSClosureCompilerSyntaxInspection | |
JSCommentMatchesSignatureInspection | |
JSComparisonWithNaNInspection | |
JSConsecutiveCommasInArrayLiteralInspection | |
JSConstructorReturnsPrimitiveInspection | |
JSDeclarationsAtScopeStartInspection | |
JSDeprecatedSymbolsInspection | |
JSDuplicatedDeclarationInspection | |
JSJQueryEfficiencyInspection | |
JSLastCommaInArrayLiteralInspection | |
JSLastCommaInObjectLiteralInspection | |
JSMethodCanBeStaticInspection | |
JSMismatchedCollectionQueryUpdateInspection | |
JSPotentiallyInvalidConstructorUsageInspection | |
JSPotentiallyInvalidTargetOfIndexedPropertyAccess | |
JSPotentiallyInvalidUsageOfThisInspection | |
JSPrimitiveTypeWrapperUsageInspection | |
JSReferencingMutableVariableFromClosureInspection | |
JSSuspiciousNameCombinationInspection | |
JSUndeclaredVariableInspection | |
JSUndefinedPropertyAssignmentInspection | |
JSUnfilteredForInLoopInspection | |
JSUnnecessarySemicolonInspection | |
JSUnresolvedFunctionInspection | |
JSUnresolvedLibraryURLInspection | |
JSUnresolvedVariableInspection | |
JSUnusedAssignmentInspection | |
JSUnusedGlobalSymbolsInspection | |
JSUnusedLocalSymbolsInspection | |
JSValidateJSDocInspection | |
JSValidateTypesInspection | |
watcher | |
TaskInspection | |
TaskProblemsInspection | |
css | |
CssFloatPxLengthInspection | |
CssNoGenericFontNameInspection | |
CssUnitlessNumberInspection | |
CssConvertColorToHexInspection | |
CssConvertColorToRgbInspection | |
CssInvalidElementInspection | |
CssNegativeValueInspection | |
CssOptimizeSimilarPropertiesInspection | |
CssOverwrittenPropertiesInspection | |
CssUnknownPropertyInspection | |
CssUnusedSymbolInspection | |
CssInvalidAtRuleInspection | |
CssInvalidCharsetRuleInspection | |
CssInvalidFunctionInspection | |
CssInvalidHtmlTagReferenceInspection | |
CssInvalidImportInspection | |
CssInvalidMediaFeatureInspection | |
CssInvalidPropertyValueInspection | |
CssInvalidPseudoSelectorInspection | |
CssUnknownTargetInspection | |
CssMissingSemicolonInspection | |
CssRedundantUnitInspection | |
sql | |
SqlAddNotNullColumnInspection | |
SqlAmbiguousColumnInspection | |
SqlAutoIncrementDuplicateInspection | |
SqlCheckUsingColumnsInspection | |
SqlConstantConditionInspection | |
SqlDerivedTableAliasInspection | |
SqlDialectInspection | |
SqlDropIndexedColumnInspection | |
SqlIdentifierInspection | |
SqlInsertValuesInspection | |
SqlNoDataSourceInspection | |
SqlNullComparisonInspection | |
SqlResolveInspection | |
SqlShouldBeInGroupByInspection | |
SqlTypeInspection | |
oracle | |
SqlDeprecateTypeInspection | |
postgresql | |
SqlPostgresqlSelectFromProcedureInspection | |
php | |
PhpAbstractStaticMethodInspection | |
PhpHierarchyChecksInspection | |
PhpUnreachableStatementInspection | |
PhpUnusedLocalVariableInspection | |
PhpWrongCatchClausesOrderInspection | |
PhpDeprecationInspection | |
PhpDocMissingReturnTagInspection | |
PhpDocMissingThrowsInspection | |
PhpDocSignatureInspection | |
PhpMissingDocCommentInspection | |
PhpDuplicateArrayKeysInspection | |
PhpDuplicateCaseInspection | |
PhpDynamicAsStaticMethodCallInspection | |
PhpExpressionResultUnusedInspection | |
PhpForeachArrayIsUsedAsValueInspection | |
PhpForeachNestedOuterKeyValueVariablesConflictInspection | |
PhpIllegalArrayKeyTypeInspection | |
PhpIncludeInspection | |
PhpInconsistentReturnPointsInspection | |
PhpInternalEntityUsedInspection | |
PhpLanguageLevelInspection | |
PhpMissingBreakStatementInspection | |
PhpParamsInspection | |
PhpPassByRefInspection | |
PhpRedundantClosingTagInspection | |
PhpSillyAssignmentInspection | |
PhpTraditionalSyntaxArrayLiteralInspection | |
PhpUndefinedCallbackInspection | |
PhpUndefinedClassConstantInspection | |
PhpUndefinedClassInspection | |
PhpUndefinedConstantInspection | |
PhpUndefinedFieldInspection | |
PhpUndefinedFunctionInspection | |
PhpUndefinedGotoLabelInspection | |
PhpUndefinedMethodInspection | |
PhpUndefinedNamespaceInspection | |
PhpUndefinedVariableInspection | |
PhpUnnecessaryFullyQualifiedNameInspection | |
PhpUnusedAliasInspection | |
PhpUnusedClassInspection | |
PhpUnusedFunctionInspection | |
PhpUnusedParameterInspection | |
PhpUnusedPrivateFieldInspection | |
PhpUnusedPrivateMethodInspection | |
PhpUsageOfSilenceOperatorInspection | |
PhpVoidFunctionResultUsedInspection | |
PhpWrongForeachArgumentTypeInspection | |
PhpAssignmentInConditionInspection | |
PhpConstantReassignmentInspection | |
PhpDivisionByZeroInspection | |
PhpNonCompoundUseInspection | |
PhpToStringImplementationInspection | |
PhpToStringReturnInspection | |
PhpWrongStringConcatenationInspection | |
PhpIllegalPsrClassPathInspection | |
PhpMultipleClassesDeclarationsInOneFile | |
php blade | |
BladeClosingSectionInspection | |
BladeControlDirectivesInspection | |
ini | |
DuplicateKeyInspection | |
DuplicateSectionInspection | |
coffeescript | |
CoffeeScriptInfiniteLoopInspection | |
CoffeeScriptSillyAssignmentInspection | |
CoffeeScriptSwitchStatementWithNoDefaultBranchInspection | |
CoffeeScriptUnusedLocalSymbolsInspection | |
xpath | |
CheckNodeTest | |
HardwiredNamespacePrefix | |
ImplicitTypeConversion | |
IndexZeroPredicate | |
RedundantTypeConversion | |
TemplateInvocationInspection | |
UnusedElementInspection | |
VariableShadowingInspection | |
XsltDeclarationInspection | |
cucumber | |
CucumberExamplesColonInspection | |
CucumberMissedExamplesInspection | |
CucumberStepInspection | |
CucumberTableInspection | |
GherkinBrokenTableInspection | |
GherkinMisplacedBackgroundInspection | |
less | |
LessResolvedByNameOnlyInspection | |
LessUnresolvedMixinInspection | |
LessUnresolvedVariableInspection | |
scss | |
SassScssResolvedByNameOnlyInspection | |
SassScssUnresolvedMixinInspection | |
SassScssUnresolvedPlaceholderSelectorInspection | |
SassScssUnresolvedVariableInspection |
user11235813
commented
Jul 7, 2016
•
Thanks for this list! How did you find all of these?
@skeets23 You can find all inspections for PHP in your PhpStorm installation: plugins/php/lib/resources_en.jar/inspectionDescriptions
.
There is a HTML file with its description for every inspection.
For my macOS, it's under ~/Library/Application Support/IntelliJIdea2017.1/php/lib
instead of /Applications/IntelliJ IDEA.app/...
.
Change 2017.1
to your installed version.
Can you apply this to an entire file? Or does it only affect the adjacent statement?
forgot:
PhpUnhandledExceptionInspection
/* @noinspection PhpAbstractStaticMethodInspection */
/* @noinspection PhpHierarchyChecksInspection */
/* @noinspection PhpUnreachableStatementInspection */
/* @noinspection PhpUnusedLocalVariableInspection */
/* @noinspection PhpWrongCatchClausesOrderInspection */
/* @noinspection PhpDeprecationInspection */
/* @noinspection PhpDocMissingReturnTagInspection */
/* @noinspection PhpDocMissingThrowsInspection */
/* @noinspection PhpDocSignatureInspection */
/* @noinspection PhpMissingDocCommentInspection */
/* @noinspection PhpDuplicateArrayKeysInspection */
/* @noinspection PhpDuplicateCaseInspection */
/* @noinspection PhpDynamicAsStaticMethodCallInspection */
/* @noinspection PhpExpressionResultUnusedInspection */
/* @noinspection PhpForeachArrayIsUsedAsValueInspection */
/* @noinspection PhpForeachNestedOuterKeyValueVariablesConflictInspection */
/* @noinspection PhpIllegalArrayKeyTypeInspection */
/* @noinspection PhpIncludeInspection */
/* @noinspection PhpInconsistentReturnPointsInspection */
/* @noinspection PhpInternalEntityUsedInspection */
/* @noinspection PhpLanguageLevelInspection */
/* @noinspection PhpMissingBreakStatementInspection */
/* @noinspection PhpParamsInspection */
/* @noinspection PhpPassByRefInspection */
/* @noinspection PhpRedundantClosingTagInspection */
/* @noinspection PhpSillyAssignmentInspection */
/* @noinspection PhpTraditionalSyntaxArrayLiteralInspection */
/* @noinspection PhpUndefinedCallbackInspection */
/* @noinspection PhpUndefinedClassConstantInspection */
/* @noinspection PhpUndefinedClassInspection */
/* @noinspection PhpUndefinedConstantInspection */
/* @noinspection PhpUndefinedFieldInspection */
/* @noinspection PhpUndefinedFunctionInspection */
/* @noinspection PhpUndefinedGotoLabelInspection */
/* @noinspection PhpUndefinedMethodInspection */
/* @noinspection PhpUndefinedNamespaceInspection */
/* @noinspection PhpUndefinedVariableInspection */
/* @noinspection PhpUnnecessaryFullyQualifiedNameInspection */
/* @noinspection PhpUnusedAliasInspection */
/* @noinspection PhpUnusedClassInspection */
/* @noinspection PhpUnusedFunctionInspection */
/* @noinspection PhpUnusedParameterInspection */
/* @noinspection PhpUnusedPrivateFieldInspection */
/* @noinspection PhpUnusedPrivateMethodInspection */
/* @noinspection PhpUsageOfSilenceOperatorInspection */
/* @noinspection PhpVoidFunctionResultUsedInspection */
/* @noinspection PhpWrongForeachArgumentTypeInspection */
/* @noinspection PhpAssignmentInConditionInspection */
/* @noinspection PhpConstantReassignmentInspection */
/* @noinspection PhpDivisionByZeroInspection */
/* @noinspection PhpNonCompoundUseInspection */
/* @noinspection PhpToStringImplementationInspection */
/* @noinspection PhpToStringReturnInspection */
/* @noinspection PhpWrongStringConcatenationInspection */
/* @noinspection PhpIllegalPsrClassPathInspection */
/* @noinspection PhpMultipleClassesDeclarationsInOneFile */
/* @noinspection PhpUnhandledExceptionInspection */
Another one: /** noinspection PhpRedundantCatchClauseInspection */
will suppress "Exception 'x' is never thrown in the corresponding try block" notices.
Another one: /** @noinspection PhpMissingParentConstructorInspection */ will suppress __construct without parent::__construct call.
/** @noinspection SqlResolveInspection */
won't work in 2019.2, use /** @noinspection SqlResolve */
instead
/** @noinspection PhpIncompatibleReturnTypeInspection https://gist.github.com/discordier/ed4b9cba14652e7212f5 */
for "Return value is expected to be ..."
// noinspection ES6ConvertVarToLetConst
will suppress "'var' used instead of 'let' or 'const'" in Javascript files.
Any ideas for PHP wrong function argument "Expected MySimpleXmlElement, got \SimpleXmlElement"?
Some PhpUnused* inspections is remaned to
/* @noinspection PhpUnused */
in PHPStorm 2019.3+
Unnecessary local variable:
/** @noinspection PhpUnnecessaryLocalVariableInspection https://gist.github.com/discordier/ed4b9cba14652e7212f5 */
Exception '(name)' is never thrown in the function
Add this to your PHPDoc comment:
@noinspection PhpDocRedundantThrowsInspection
/** @noinspection Duplicates */
In case of "Duplicated code fragment (23 lines long) "
/** @noinspection AccessModifierPresentedInspection */
/** @noinspection AdditionOperationOnArraysInspection */
/** @noinspection AliasFunctionsUsageInspection */
/** @noinspection AlterInForeachInspection */
/** @noinspection AmbiguousMethodsCallsInArrayMappingInspection */
/** @noinspection ArgumentEqualsDefaultValueInspection */
/** @noinspection ArgumentUnpackingCanBeUsedInspection */
/** @noinspection ArrayPushMissUseInspection */
/** @noinspection ArraySearchUsedAsInArrayInspection */
/** @noinspection ArrayUniqueCanBeUsedInspection */
/** @noinspection AutoloadingIssuesInspection */
/** @noinspection BacktickOperatorUsageInspection */
/** @noinspection BadExceptionsProcessingInspection */
/** @noinspection CallableMethodValidityInspection */
/** @noinspection CallableParameterUseCaseInTypeContextInspection */
/** @noinspection CascadeStringReplacementInspection */
/** @noinspection CascadingDirnameCallsInspection */
/** @noinspection CaseInsensitiveStringFunctionsMissUseInspection */
/** @noinspection ClassConstantCanBeUsedInspection */
/** @noinspection ClassConstantUsageCorrectnessInspection */
/** @noinspection ClassMethodNameMatchesFieldNameInspection */
/** @noinspection ClassMockingCorrectnessInspection */
/** @noinspection ClassOverridesFieldOfSuperClassInspection */
/** @noinspection ClassReImplementsParentInterfaceInspection */
/** @noinspection CompactArgumentsInspection */
/** @noinspection CompactCanBeUsedInspection */
/** @noinspection ComparisonOperandsOrderInspection */
/** @noinspection ConstantCanBeUsedInspection */
/** @noinspection CryptographicallySecureAlgorithmsInspection */
/** @noinspection CryptographicallySecureRandomnessInspection */
/** @noinspection CurlSslServerSpoofingInspection */
/** @noinspection DateIntervalSpecificationInspection */
/** @noinspection DateTimeConstantsUsageInspection */
/** @noinspection DateTimeSetTimeUsageInspection */
/** @noinspection DateUsageInspection */
/** @noinspection DeclareDirectiveCorrectnessInspection */
/** @noinspection DegradedSwitchInspection */
/** @noinspection DeprecatedConstructorStyleInspection */
/** @noinspection DeprecatedIniOptionsInspection */
/** @noinspection DirectoryConstantCanBeUsedInspection */
/** @noinspection DisallowWritingIntoStaticPropertiesInspection */
/** @noinspection DisconnectedForeachInstructionInspection */
/** @noinspection DuplicateArrayKeysInspection */
/** @noinspection DynamicCallsToScopeIntrospectionInspection */
/** @noinspection DynamicInvocationViaScopeResolutionInspection */
/** @noinspection EfferentObjectCouplingInspection */
/** @noinspection ElvisOperatorCanBeUsedInspection */
/** @noinspection EmptyClassInspection */
/** @noinspection EncryptionInitializationVectorRandomnessInspection */
/** @noinspection FixedTimeStartWithInspection */
/** @noinspection FopenBinaryUnsafeUsageInspection */
/** @noinspection ForeachInvariantsInspection */
/** @noinspection ForgottenDebugOutputInspection */
/** @noinspection GetClassUsageInspection */
/** @noinspection GetDebugTypeCanBeUsedInspection */
/** @noinspection GetTypeMissUseInspection */
/** @noinspection HostnameSubstitutionInspection */
/** @noinspection IfReturnReturnSimplificationInspection */
/** @noinspection ImplodeArgumentsOrderInspection */
/** @noinspection InArrayMissUseInspection */
/** @noinspection IncorrectRandomRangeInspection */
/** @noinspection IncrementDecrementOperationEquivalentInspection */
/** @noinspection InfinityLoopInspection */
/** @noinspection InstanceofCanBeUsedInspection */
/** @noinspection InvertedIfElseConstructsInspection */
/** @noinspection IsCountableCanBeUsedInspection */
/** @noinspection IsEmptyFunctionUsageInspection */
/** @noinspection IsIterableCanBeUsedInspection */
/** @noinspection IsNullFunctionUsageInspection */
/** @noinspection IssetArgumentExistenceInspection */
/** @noinspection IssetConstructsCanBeMergedInspection */
/** @noinspection JsonEncodingApiUsageInspection */
/** @noinspection LongInheritanceChainInspection */
/** @noinspection LoopWhichDoesNotLoopInspection */
/** @noinspection MagicMethodsValidityInspection */
/** @noinspection MisorderedModifiersInspection */
/** @noinspection MissingArrayInitializationInspection */
/** @noinspection MissingIssetImplementationInspection */
/** @noinspection MissingOrEmptyGroupStatementInspection */
/** @noinspection MissUsingParentKeywordInspection */
/** @noinspection MkdirRaceConditionInspection */
/** @noinspection MktimeUsageInspection */
/** @noinspection MockingMethodsCorrectnessInspection */
/** @noinspection MultiAssignmentUsageInspection */
/** @noinspection MultipleReturnStatementsInspection */
/** @noinspection NestedAssignmentsUsageInspection */
/** @noinspection NestedNotOperatorsInspection */
/** @noinspection NestedPositiveIfStatementsInspection */
/** @noinspection NestedTernaryOperatorInspection */
/** @noinspection NonSecureExtractUsageInspection */
/** @noinspection NonSecureParseStrUsageInspection */
/** @noinspection NonSecureUniqidUsageInspection */
/** @noinspection NotOptimalIfConditionsInspection */
/** @noinspection NotOptimalRegularExpressionsInspection */
/** @noinspection NullCoalescingOperatorCanBeUsedInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection ObGetCleanCanBeUsedInspection */
/** @noinspection OffsetOperationsInspection */
/** @noinspection OneTimeUseVariablesInspection */
/** @noinspection OnlyWritesOnParameterInspection */
/** @noinspection OpAssignShortSyntaxInspection */
/** @noinspection PackedHashtableOptimizationInspection */
/** @noinspection ParameterDefaultValueIsNotNullInspection */
/** @noinspection PassingByReferenceCorrectnessInspection */
/** @noinspection PdoApiUsageInspection */
/** @noinspection PhpUnitDeprecationsInspection */
/** @noinspection PhpUnitTestsInspection */
/** @noinspection PotentialMalwareInspection */
/** @noinspection PowerOperatorCanBeUsedInspection */
/** @noinspection PregQuoteUsageInspection */
/** @noinspection PreloadingUsageCorrectnessInspection */
/** @noinspection PrintfScanfArgumentsInspection */
/** @noinspection ProperNullCoalescingOperatorUsageInspection */
/** @noinspection PropertyCanBeStaticInspection */
/** @noinspection PropertyInitializationFlawsInspection */
/** @noinspection RandomApiMigrationInspection */
/** @noinspection RealpathInStreamContextInspection */
/** @noinspection RedundantElseClauseInspection */
/** @noinspection ReferencingObjectsInspection */
/** @noinspection ReturnTypeCanBeDeclaredInspection */
/** @noinspection SecurityAdvisoriesInspection */
/** @noinspection SelfClassReferencingInspection */
/** @noinspection SenselessMethodDuplicationInspection */
/** @noinspection SenselessProxyMethodInspection */
/** @noinspection SenselessTernaryOperatorInspection */
/** @noinspection ShortEchoTagCanBeUsedInspection */
/** @noinspection ShortListSyntaxCanBeUsedInspection */
/** @noinspection ShortOpenTagUsageInspection */
/** @noinspection SimpleXmlLoadFileUsageInspection */
/** @noinspection SlowArrayOperationsInLoopInspection */
/** @noinspection StaticClosureCanBeUsedInspection */
/** @noinspection StaticInvocationViaThisInspection */
/** @noinspection StaticLambdaBindingInspection */
/** @noinspection StrContainsCanBeUsedInspection */
/** @noinspection StrEndsWithCanBeUsedInspection */
/** @noinspection StringCaseManipulationInspection */
/** @noinspection StringNormalizationInspection */
/** @noinspection StringsFirstCharactersCompareInspection */
/** @noinspection StrlenInEmptyStringCheckContextInspection */
/** @noinspection StrStartsWithCanBeUsedInspection */
/** @noinspection StrStrUsedAsStrPosInspection */
/** @noinspection StrtotimeUsageInspection */
/** @noinspection StrTrUsageAsStrReplaceInspection */
/** @noinspection SubStrShortHandUsageInspection */
/** @noinspection SubStrUsedAsArrayAccessInspection */
/** @noinspection SubStrUsedAsStrPosInspection */
/** @noinspection SuspiciousAssignmentsInspection */
/** @noinspection SuspiciousBinaryOperationInspection */
/** @noinspection SuspiciousFunctionCallsInspection */
/** @noinspection SuspiciousLoopInspection */
/** @noinspection SuspiciousReturnInspection */
/** @noinspection SuspiciousSemicolonInspection */
/** @noinspection SwitchContinuationInLoopInspection */
/** @noinspection TernaryOperatorSimplifyInspection */
/** @noinspection ThrowRawExceptionInspection */
/** @noinspection TraitsPropertiesConflictsInspection */
/** @noinspection TypesCastingCanBeUsedInspection */
/** @noinspection TypeUnsafeArraySearchInspection */
/** @noinspection TypeUnsafeComparisonInspection */
/** @noinspection UnknownInspectionInspection */
/** @noinspection UnnecessaryAssertionInspection */
/** @noinspection UnnecessaryCastingInspection */
/** @noinspection UnNecessaryDoubleQuotesInspection */
/** @noinspection UnnecessaryFinalModifierInspection */
/** @noinspection UnnecessaryIssetArgumentsInspection */
/** @noinspection UnnecessarySemicolonInspection */
/** @noinspection UnnecessaryUseAliasInspection */
/** @noinspection UnqualifiedReferenceInspection */
/** @noinspection UnSafeIsSetOverArrayInspection */
/** @noinspection UnserializeExploitsInspection */
/** @noinspection UnsetConstructsCanBeMergedInspection */
/** @noinspection UnsupportedEmptyListAssignmentsInspection */
/** @noinspection UnsupportedStringOffsetOperationsInspection */
/** @noinspection UntrustedInclusionInspection */
/** @noinspection UnusedConstructorDependenciesInspection */
/** @noinspection UnusedGotoLabelInspection */
/** @noinspection UselessReturnInspection */
/** @noinspection UselessUnsetInspection */
/** @noinspection UsingInclusionOnceReturnValueInspection */
/** @noinspection UsingInclusionReturnValueInspection */
/** @noinspection VariableFunctionsUsageInspection */
Type mismatch in property assignment:
/** @noinspection PhpFieldAssignmentTypeMismatchInspection */
Any ideas for PHP wrong function argument "Expected MySimpleXmlElement, got \SimpleXmlElement"?
@mingalevme it's PhpParamsInspection
== replace with ===
//noinspection EqualityComparisonWithCoercionJS
in case if we dont want to declare things strictly (e.g. some framework with no support e.g. legacy Phalcon)
PhpMissingReturnTypeInspection
PhpMissingParamTypeInspection
PhpMissingFieldTypeInspection
public function setToken($token)
{
...
}
How to suppress "Multiple Definition exist for class 'class name'"?
How to suppress "Multiple Definition exist for class 'class name'"?
The only way I found - mark the unwanted definition (class/file) as plain/text via "override file type".
FWIW, the one I was looking for (// noinspection NpmUsedModulesInstalled
) wasn't in this list. To find it I grep
'd my whole WebStorm install folder for one I knew existed (JSUnresolvedFunction
) and found a match in WebStorm-201.6251.23/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar
: (searched using strings
utility)
<localInspection
groupPath="JavaScript and TypeScript"
language="JavaScript"
key="js.inspection.missing.module.dependency"
groupKey="js.imports.dependencies.group.name"
shortName="NpmUsedModulesInstalled"
enabledByDefault="true"
level="WEAK WARNING"
implementationClass="com.intellij.lang.javascript.modules.NpmUsedModulesInstalledInspection"
/>
List of "shortName" attributes I found in META-INF/plugin.xml inside of JavaScriptLanguage.jar
AnonymousFunctionJS
AssignmentResultUsedJS
AssignmentToForLoopParameterJS
AssignmentToFunctionParameterJS
BadExpressionStatementJS
BlockStatementJS
BreakStatementJS
BreakStatementWithLabelJS
CallerJS
ChainedEqualityJS
ChainedFunctionCallJS
CommaExpressionJS
ConditionalExpressionJS
ConditionalExpressionWithIdenticalBranchesJS
ConfusingFloatingPointLiteralJS
ConfusingPlusesOrMinusesJS
ConstantConditionalExpressionJS
ConstantOnLHSOfComparisonJS
ConstantOnRHSOfComparisonJS
ContinueOrBreakFromFinallyBlockJS
ContinueStatementJS
ContinueStatementWithLabelJS
CyclomaticComplexityJS
DebuggerStatementJS
DefaultNotLastCaseInSwitchJS
DivideByZeroJS
DocumentWriteJS
DuplicateConditionJS
DynamicallyGeneratedCodeJS
EmptyCatchBlockJS
EmptyFinallyBlockJS
EmptyStatementBodyJS
EmptyTryBlockJS
ES6BindWithArrowFunction
ES6CheckImport
ES6ClassMemberInitializationOrder
ES6ConvertIndexedForToForOf
ES6ConvertLetToConst
ES6ConvertModuleExportToExport
ES6ConvertRequireIntoImport
ES6ConvertToForOf
ES6ConvertVarToLetConst
ES6DestructuringVariablesMerge
ES6MissingAwait
ES6PossiblyAsyncFunction
ES6PreferShortImport
ES6RedundantAwait
ES6RedundantNestingInTemplateLiteral
ES6ShorthandObjectProperty
ES6TopLevelAwaitExpression
ES6UnusedImports
ExceptionCaughtLocallyJS
FallThroughInSwitchStatementJS
FlowJSConfig
FlowJSCoverage
FlowJSFlagCommentPlacement
ForLoopReplaceableByWhileJS
ForLoopThatDoesntUseLoopVariableJS
FunctionNamingConventionJS
FunctionWithInconsistentReturnsJS
FunctionWithMultipleLoopsJS
FunctionWithMultipleReturnPointsJS
IfStatementWithIdenticalBranchesJS
IfStatementWithTooManyBranchesJS
IncompatibleMaskJS
IncrementDecrementResultUsedJS
InfiniteLoopJS
InfiniteRecursionJS
InnerHTMLJS
JSAccessibilityCheck
JSArrowFunctionBracesCanBeRemoved
JSAssignmentUsedAsCondition
JSBitwiseOperatorUsage
JSCheckFunctionSignatures
JSClassNamingConvention
JSClosureCompilerSyntax
JSCommentMatchesSignature
JSComparisonWithNaN
JSConsecutiveCommasInArrayLiteral
JSConstantReassignment
JSConstructorReturnsPrimitive
JSDeclarationsAtScopeStart
JSDeprecatedSymbols
JSDuplicateCaseLabel
JSDuplicatedDeclaration
JSEqualityComparisonWithCoercion
JSFileReferences
JSFunctionExpressionToArrowFunction
JSIncompatibleTypesComparison
JSJoinVariableDeclarationAndAssignment
JSJQueryEfficiency
JSLastCommaInArrayLiteral
JSLastCommaInObjectLiteral
JSMethodCanBeStatic
JSMismatchedCollectionQueryUpdate
JSMissingSwitchBranches
JSMissingSwitchDefault
JSNonASCIINames
JSNonStrictModeUsed
JSOctalInteger
JSPotentiallyInvalidConstructorUsage
JSPotentiallyInvalidTargetOfIndexedPropertyAccess
JSPotentiallyInvalidUsageOfClassThis
JSPotentiallyInvalidUsageOfThis
JSPrimitiveTypeWrapperUsage
JSRedundantSwitchStatement
JSReferencingMutableVariableFromClosure
JSRemoveUnnecessaryParentheses
JSStringConcatenationToES6Template
JSSuspiciousEqPlus
JSSuspiciousNameCombination
JSSwitchVariableDeclarationIssue
JSTypeOfValues
JSUndeclaredVariable
JSUndefinedPropertyAssignment
JSUnfilteredForInLoop
JSUnnecessarySemicolon
JSUnreachableSwitchBranches
JSUnresolvedExtXType
JSUnresolvedFunction
JSUnresolvedLibraryURL
JSUnresolvedReactComponent
JSUnresolvedVariable
JSUnusedAssignment
JSUnusedGlobalSymbols
JSUnusedLocalSymbols
JSUrlImportUsage
JSValidateJSDoc
JSValidateTypes
JSVoidFunctionReturnValueUsed
JSXNamespaceValidation
JSXSyntaxUsed
LabeledStatementJS
LocalVariableNamingConventionJS
LoopStatementThatDoesntLoopJS
MagicNumberJS
NegatedConditionalExpressionJS
NegatedIfStatementJS
NestedAssignmentJS
NestedConditionalExpressionJS
NestedFunctionCallJS
NestedFunctionJS
NestedSwitchStatementJS
NestingDepthJS
NodeCoreCodingAssistance
NonBlockStatementBodyJS
NpmUsedModulesInstalled
ObjectAllocationIgnoredJS
OverlyComplexArithmeticExpressionJS
OverlyComplexBooleanExpressionJS
PackageJsonMismatchedDependency
ParameterNamingConventionJS
ParametersPerFunctionJS
PlatformDetectionJS
PointlessArithmeticExpressionJS
PointlessBitwiseExpressionJS
PointlessBooleanExpressionJS
ReplaceAssignmentWithOperatorAssignmentJS
ReservedWordUsedAsNameJS
ReturnFromFinallyBlockJS
ReuseOfLocalVariableJS
ShiftOutOfRangeJS
SillyAssignmentJS
StatementsPerFunctionJS
StringLiteralBreaksHTMLJS
SuspiciousTypeOfGuard
TailRecursionJS
TextLabelInSwitchStatementJS
ThisExpressionReferencesGlobalObjectJS
ThreeNegationsPerFunctionJS
ThrowFromFinallyBlockJS
TrivialConditionalJS
TrivialIfJS
TypeScriptAbstractClassConstructorCanBeMadeProtected
TypeScriptCheckImport
TypeScriptDuplicateUnionOrIntersectionType
TypeScriptExplicitMemberType
TypeScriptFieldCanBeMadeReadonly
TypeScriptMissingAugmentationImport
TypeScriptRedundantGenericType
TypeScriptSmartCast
TypeScriptSuspiciousConstructorParameterAssignment
TypeScriptUMDGlobal
TypeScriptUnresolvedFunction
TypeScriptUnresolvedReactComponent
TypeScriptUnresolvedVariable
TypeScriptValidateGenericTypes
TypeScriptValidateJSTypes
TypeScriptValidateTypes
UnnecessaryContinueJS
UnnecessaryLabelJS
UnnecessaryLabelOnBreakStatementJS
UnnecessaryLabelOnContinueStatementJS
UnnecessaryLocalVariableJS
UnnecessaryReturnJS
UnreachableCodeJS
UnterminatedStatementJS
UnusedCatchParameterJS
UpdateDependencyToLatestVersion
VoidExpressionJS
WebpackConfigHighlighting
WithStatementJS
XHTMLIncompatabilitiesJS
(The entry for js.inspection.promise.ignored.display.name
didn't appear to have a shortName
defined, but maybe it's JSIgnoredPromiseFromCallInspection
?)
Adding list of SQL inspections from Database Tools plugin
SqlResolve
SqlType
SqlUnused
SqlUnused
SqlIdentifier
SqlAmbiguousColumn
SqlInsertValues
SqlDerivedTableAlias
SqlShouldBeInGroupBy
SqlConstantCondition
SqlAutoIncrementDuplicate
SqlDropIndexedColumn
SqlAddNotNullColumn
SqlCheckUsingColumns
SqlNullComparison
SqlSignature
SqlSideEffects
SqlWithoutWhere
SqlJoinWithoutOn
SqlUnreachable
SqlIllegalCursorState
SqlNamedArguments
SqlGoto
SqlTriggerTransition
SqlRedundantOrderingDirection
SqlAggregates
SqlCaseVsIf
SqlCaseVsCoalesce
SqlStringLengthExceeded
SqlRedundantAlias
SqlRedundantLimit
SqlMultipleLimitClauses
SqlInsertIntoGeneratedColumn
SqlDuplicateColumn
SqlRedundantElseNull
SqlInsertNullIntoNotNull
SqlRedundantCodeInCoalesce
SqlUnicodeStringLiteral
SqlUnusedCte
SqlMissingColumnAliases
SqlMisleadingReference
SqlMissingReturn
SqlTransactionStatementInTrigger
SqlCallNotation
SqlDeprecateType
SqlShadowingAlias
SqlDateTime
SqlConstantExpression
@noinspection SqlResolve
help with "select from $table.." where $table is generated string so inspection cannot guess it
@noinspection SqlAggregates
solves bug complaining about fields in ORDER BY having to be aggregated for grouped queries.
PhpSameParameterValueInspection