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 93 (0%)
| Flint Rule | Preset |
|---|---|
compilerOptions | config |
gating | config |
functionComponentThisReferences | javascript |
propertyValidity | javascript |
propTypes | javascript |
arrayIndexKeys | logical |
componentHookFactories | logical |
componentNesting | logical |
componentWillMountCalls | logical |
componentWillReceivePropsCalls | logical |
componentWillUpdateCalls | logical |
dangerouslySetInnerHtmlsWithChildren | logical |
dangerouslySetInnerHTMLWithChildren | logical |
defaultPropsMatchingPropTypes | logical |
effectSetStates | logical |
errorBoundaries | logical |
exhaustiveDeps | logical |
globalMutations | logical |
immutability | logical |
incompatibleLibraries | logical |
manualMemoizationPreservations | logical |
nestedComponentDefinitions | logical |
nestedLazyComponentDeclarations | logical |
purity | logical |
reactDomHydrateCalls | logical |
reactDomRenderCalls | logical |
refs | logical |
refStrings | logical |
renderSetStates | logical |
rulesOfHooks | logical |
stateMutations | logical |
staticComponents | logical |
typos | logical |
unsupportedSyntax | logical |
unusedClassComponentMethods | logical |
unusedPropTypes | logical |
unusedState | logical |
useMemoReturns | logical |
voidElementsWithChildren | logical |
captureOwnerStackUsage | logical (strict) |
classComponents | logical (strict) |
componentDidMountSetStates | logical (strict) |
componentDidUpdateSetStates | logical (strict) |
componentDisplayNames | logical (strict) |
componentWillUpdateSetStates | logical (strict) |
contextValueReferences | logical (strict) |
contextValueStability | logical (strict) |
dangerousProps | logical (strict) |
defaultPropsStability | logical (strict) |
eventListenerCleanup | logical (strict) |
fetchCleanup | logical (strict) |
intervalCleanup | logical (strict) |
iterableKeys | logical (strict) |
reactDomFlushSyncCalls | logical (strict) |
resizeObserverCleanup | logical (strict) |
stylePropObjects | logical (strict) |
timeoutCleanup | logical (strict) |
componentDefinitions | stylistic |
contextProviders | stylistic |
createRefCalls | stylistic |
destructuring | stylistic |
functionComponentDefinitions | stylistic |
stylePropsType | stylistic |
usePrefixes | stylistic |
useStateUsage | stylistic |
classComponentStateDefinitions | stylistic (strict) |
classComponentStateInitialization | stylistic (strict) |
contextNames | stylistic (strict) |
idNames | stylistic (strict) |
refNames | stylistic (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) |
Made with ❤️🔥 around the world by
the Flint team and contributors.