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 Rule | Preset |
|---|---|
compilerOptions | config |
gating | config |
arrayIndexKeyes | logical |
componentHookFactories | logical |
componentNesting | logical |
dangerouslySetInnerHTMLWithChildren | logical |
defaultPropsMatchingPropTypes | logical |
effectSetStates | logical |
errorBoundaries | logical |
exhaustiveDeps | logical |
globalMutations | logical |
immutability | logical |
incompatibleLibraries | logical |
manualMemoizationPreservations | logical |
purity | 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 |
componentDidMountSetStates | logical (strict) |
componentDidUpdateSetStates | logical (strict) |
componentDisplayNames | logical (strict) |
componentWillUpdateSetStates | logical (strict) |
contextValueReferences | logical (strict) |
dangerousProps | logical (strict) |
iterableKeys | logical (strict) |
stylePropObjects | logical (strict) |
componentDefinitions | stylistic |
destructuring | stylistic |
functionComponentDefinitions | stylistic |
useStateDestructures | stylistic |
classComponentStateDefinitions | stylistic (strict) |
classComponentStateInitialization | stylistic (strict) |
functionComponentThisReferences | untyped |
propertyValidity | untyped |
propTypes | untyped |
restrictedComponentProps | (none) |
restrictedDomProps | (none) |
restrictedElements | (none) |
restrictedPropTypes | (none) |
Made with ❤️🔥 in Boston by
Josh Goldberg and contributors.