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
compilerOptionsconfig
gatingconfig
functionComponentThisReferencesjavascript
propertyValidityjavascript
propTypesjavascript
arrayIndexKeyslogical
asyncServerFunctionslogical
componentHookFactorieslogical
componentNestinglogical
componentWillMountCallslogical
componentWillReceivePropsCallslogical
componentWillUpdateCallslogical
dangerouslySetInnerHtmlsWithChildrenlogical
dangerouslySetInnerHTMLWithChildrenlogical
defaultPropsMatchingPropTypeslogical
effectSetStateslogical
errorBoundarieslogical
exhaustiveDepslogical
globalMutationslogical
immutabilitylogical
incompatibleLibrarieslogical
manualMemoizationPreservationslogical
nestedComponentDefinitionslogical
nestedLazyComponentDeclarationslogical
propAssignmentslogical
puritylogical
reactDomHydrateCallslogical
reactDomRenderCallslogical
refslogical
refStringslogical
renderSetStateslogical
rulesOfHookslogical
stateMutationslogical
staticComponentslogical
typoslogical
unsupportedSyntaxlogical
unusedClassComponentMethodslogical
unusedPropTypeslogical
unusedStatelogical
useMemoReturnslogical
voidElementsWithChildrenlogical
captureOwnerStackUsagelogical (strict)
classComponentslogical (strict)
componentDidMountSetStateslogical (strict)
componentDidUpdateSetStateslogical (strict)
componentDisplayNameslogical (strict)
componentExportModuleslogical (strict)
componentWillUpdateSetStateslogical (strict)
contextValueReferenceslogical (strict)
contextValueStabilitylogical (strict)
dangerousPropslogical (strict)
defaultPropsStabilitylogical (strict)
eventListenerCleanuplogical (strict)
fetchCleanuplogical (strict)
intervalCleanuplogical (strict)
iterableKeyslogical (strict)
reactDomFlushSyncCallslogical (strict)
resizeObserverCleanuplogical (strict)
stylePropObjectslogical (strict)
timeoutCleanuplogical (strict)
componentDefinitionsstylistic
contextProvidersstylistic
createRefCallsstylistic
destructuringstylistic
functionComponentDefinitionsstylistic
stylePropsTypestylistic
usePrefixesstylistic
useStateUsagestylistic
classComponentStateDefinitionsstylistic (strict)
classComponentStateInitializationstylistic (strict)
contextNamesstylistic (strict)
forwardRefsstylistic (strict)
idNamesstylistic (strict)
refNamesstylistic (strict)
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)