Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Add rules to .flowconfig for flow strict rules #2288

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/.flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,17 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-8]\\|1[
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
module.name_mapper='ReactDOM' -> 'react-dom'

[strict]
deprecated-type
sketchy-null
unclear-type
unsafe-getters-setters
; Can't enable these- immutable.js raises errors
; untyped-import
; untyped-type-import
; Can't enable this one- getTextContentFromFiles requires invariant.
; The publicly-available fbjs version of invariant isn't flow strict.
; nonstrict-import

[version]
^0.110.1