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 48 (0%)
Flint RulePreset
compilerOptionsconfig
gatingconfig
arrayIndexKeyeslogical
componentHookFactorieslogical
componentNestinglogical
dangerouslySetInnerHTMLWithChildrenlogical
defaultPropsMatchingPropTypeslogical
effectSetStateslogical
errorBoundarieslogical
exhaustiveDepslogical
globalMutationslogical
immutabilitylogical
incompatibleLibrarieslogical
manualMemoizationPreservationslogical
puritylogical
refslogical
refStringslogical
renderSetStateslogical
rulesOfHookslogical
stateMutationslogical
staticComponentslogical
typoslogical
unsupportedSyntaxlogical
unusedClassComponentMethodslogical
unusedPropTypeslogical
unusedStatelogical
useMemoReturnslogical
componentDidMountSetStateslogical (strict)
componentDidUpdateSetStateslogical (strict)
componentDisplayNameslogical (strict)
componentWillUpdateSetStateslogical (strict)
contextValueReferenceslogical (strict)
dangerousPropslogical (strict)
iterableKeyslogical (strict)
stylePropObjectslogical (strict)
componentDefinitionsstylistic
destructuringstylistic
functionComponentDefinitionsstylistic
useStateDestructuresstylistic
classComponentStateDefinitionsstylistic (strict)
classComponentStateInitializationstylistic (strict)
functionComponentThisReferencesuntyped
propertyValidityuntyped
propTypesuntyped
restrictedComponentProps(none)
restrictedDomProps(none)
restrictedElements(none)
restrictedPropTypes(none)
Made with ❤️‍🔥 in Boston by Josh Goldberg and contributors.