Skip to content

React Plugin

Rules for React, the library for web and native user interfaces.
This plugin is provided in a standalone @flint.fyi/plugin-react npm package.

Implemented: 0 of 97 (0%)
Flint RulePreset
functionComponentThisReferencesjavascript
propertyValidityjavascript
propTypesjavascript
arrayIndexKeyslogical
asyncServerFunctionslogical
compilerOptionslogical
componentHookFactorieslogical
componentNestinglogical
componentWillMountCallslogical
componentWillReceivePropsCallslogical
componentWillUpdateCallslogical
dangerouslySetInnerHtmlsWithChildrenlogical
dangerouslySetInnerHTMLWithChildrenlogical
defaultPropsMatchingPropTypeslogical
effectSetStateslogical
errorBoundarieslogical
exhaustiveDepslogical
gatinglogical
globalMutationslogical
immutabilitylogical
incompatibleLibrarieslogical
manualMemoizationPreservationslogical
nestedComponentDefinitionslogical
nestedLazyComponentDeclarationslogical
propAssignmentslogical
puritylogical
reactDomHydrateCallslogical
reactDomRenderCallslogical
refslogical
refStringslogical
renderSetStateslogical
rulesOfHookslogical
stateMutationslogical
staticComponentslogical
typoslogical
unsupportedSyntaxlogical
unusedClassComponentMethodslogical
unusedPropTypeslogical
unusedStatelogical
useMemoReturnslogical
voidElementsWithChildrenlogical
captureOwnerStackUsagelogicalStrict
classComponentslogicalStrict
componentDidMountSetStateslogicalStrict
componentDidUpdateSetStateslogicalStrict
componentDisplayNameslogicalStrict
componentExportModuleslogicalStrict
componentWillUpdateSetStateslogicalStrict
contextValueReferenceslogicalStrict
contextValueStabilitylogicalStrict
dangerousPropslogicalStrict
defaultPropsStabilitylogicalStrict
eventListenerCleanuplogicalStrict
fetchCleanuplogicalStrict
intervalCleanuplogicalStrict
iterableKeyslogicalStrict
reactDomFlushSyncCallslogicalStrict
resizeObserverCleanuplogicalStrict
stylePropObjectslogicalStrict
timeoutCleanuplogicalStrict
componentDefinitionsstylistic
contextProvidersstylistic
createRefCallsstylistic
destructuringstylistic
functionComponentDefinitionsstylistic
stylePropsTypestylistic
usePrefixesstylistic
useStateUsagestylistic
classComponentStateDefinitionsstylisticStrict
classComponentStateInitializationstylisticStrict
contextNamesstylisticStrict
forwardRefsstylisticStrict
idNamesstylisticStrict
refNamesstylisticStrict
childrenCounts(none)
childrenForEaches(none)
childrenMaps(none)
childrenOnlys(none)
childrenToArrays(none)
cloneElementCalls(none)
contextDisplayNames(none)
dangerouslySetInnerHtmls(none)
forwardRefCalls(none)
implicitChildren(none)
implicitKeys(none)
implicitRefs(none)
keyDuplications(none)
leakedConditionalRenderings(none)
missingKeys(none)
restrictedComponentProps(none)
restrictedDomProps(none)
restrictedElements(none)
restrictedPropTypes(none)
rscFunctionDefinitions(none)
unusedProps(none)
useContextUsage(none)
useFormStateCalls(none)