mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
WEB-67650 React JSX: false positive attribute className is not allowed here with the new type evaluation
GitOrigin-RevId: b83ef3b481005bd00466ec94afc8e9d7dc097af6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8648dc5c83
commit
5e5f5d088f
@@ -118,7 +118,7 @@ public class HtmlUnknownAttributeInspectionBase extends HtmlUnknownElementInspec
|
||||
}
|
||||
}
|
||||
|
||||
private static ProblemHighlightType addUnknownXmlAttributeQuickFixes(XmlTag tag,
|
||||
private static @NotNull ProblemHighlightType addUnknownXmlAttributeQuickFixes(XmlTag tag,
|
||||
String name,
|
||||
ArrayList<? super LocalQuickFix> quickfixes,
|
||||
ProblemsHolder holder,
|
||||
|
||||
@@ -9,7 +9,6 @@ import com.intellij.psi.PsiElement;
|
||||
import com.intellij.psi.xml.XmlAttribute;
|
||||
import com.intellij.psi.xml.XmlTag;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
@@ -29,7 +28,7 @@ public interface XmlUnknownAttributeQuickFixProvider {
|
||||
*/
|
||||
@NotNull Collection<@NotNull LocalQuickFix> getOrRegisterAttributeFixes(@NotNull XmlTag tag, @NotNull String name, ProblemsHolder holder, boolean isFixRequired);
|
||||
|
||||
default @Nullable ProblemHighlightType getProblemHighlightType(@NotNull PsiElement element) {
|
||||
default @NotNull ProblemHighlightType getProblemHighlightType(@NotNull PsiElement element) {
|
||||
return ProblemHighlightType.GENERIC_ERROR_OR_WARNING;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user