forked from facebook/lexical
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flowconfig
132 lines (116 loc) · 11.5 KB
/
.flowconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[ignore]
.*/scripts/.*
.*/build/.*
.*/__tests__/.*
.*/dist/.*
.*/npm/.*
.*/.tempUserDataDir/.*
.*/node_modules/.*
[include]
./packages/
[lints]
untyped-type-import=error
[options]
server.max_workers=4
exact_by_default=true
module.name_mapper='^lexical$' -> '<PROJECT_ROOT>/packages/lexical/flow/Lexical.js.flow'
module.name_mapper='^@lexical/clipboard' -> '<PROJECT_ROOT>/packages/lexical-clipboard/flow/LexicalClipboard.js.flow'
module.name_mapper='^@lexical/list' -> '<PROJECT_ROOT>/packages/lexical-list/flow/LexicalList.js.flow'
module.name_mapper='^@lexical/table' -> '<PROJECT_ROOT>/packages/lexical-table/flow/LexicalTable.js.flow'
module.name_mapper='^@lexical/file' -> '<PROJECT_ROOT>/packages/lexical-file/flow/LexicalFile.js.flow'
module.name_mapper='^@lexical/hashtag' -> '<PROJECT_ROOT>/packages/lexical-hashtag/flow/LexicalHashtag.js.flow'
module.name_mapper='^@lexical/selection' -> '<PROJECT_ROOT>/packages/lexical-selection/flow/LexicalSelection.js.flow'
module.name_mapper='^@lexical/text' -> '<PROJECT_ROOT>/packages/lexical-text/flow/LexicalText.js.flow'
module.name_mapper='^@lexical/offset' -> '<PROJECT_ROOT>/packages/lexical-offset/flow/LexicalOffset.js.flow'
module.name_mapper='^@lexical/history' -> '<PROJECT_ROOT>/packages/lexical-history/flow/LexicalHistory.js.flow'
module.name_mapper='^@lexical/headless' -> '<PROJECT_ROOT>/packages/lexical-headless/flow/LexicalHeadless.js.flow'
module.name_mapper='^@lexical/html' -> '<PROJECT_ROOT>/packages/lexical-html/flow/LexicalHtml.js.flow'
module.name_mapper='^@lexical/utils' -> '<PROJECT_ROOT>/packages/lexical-utils/flow/LexicalUtils.js.flow'
module.name_mapper='^@lexical/code' -> '<PROJECT_ROOT>/packages/lexical-code/flow/LexicalCode.js.flow'
module.name_mapper='^@lexical/plain-text' -> '<PROJECT_ROOT>/packages/lexical-plain-text/flow/LexicalPlainText.js.flow'
module.name_mapper='^@lexical/rich-text' -> '<PROJECT_ROOT>/packages/lexical-rich-text/flow/LexicalRichText.js.flow'
module.name_mapper='^@lexical/dragon' -> '<PROJECT_ROOT>/packages/lexical-dragon/flow/LexicalDragon.js.flow'
module.name_mapper='^@lexical/link' -> '<PROJECT_ROOT>/packages/lexical-link/flow/LexicalLink.js.flow'
module.name_mapper='^@lexical/overflow' -> '<PROJECT_ROOT>/packages/lexical-overflow/flow/LexicalOverflow.js.flow'
module.name_mapper='^@lexical/markdown' -> '<PROJECT_ROOT>/packages/lexical-markdown/flow/LexicalMarkdown.js.flow'
module.name_mapper='^@lexical/mark' -> '<PROJECT_ROOT>/packages/lexical-mark/flow/LexicalMark.js.flow'
module.name_mapper='^@lexical/react/DEPRECATED_useLexicalEditor' -> '<PROJECT_ROOT>/packages/lexical-react/flow/DEPRECATED_useLexicalEditor.js.flow'
module.name_mapper='^@lexical/react/DEPRECATED_useLexicalRichText' -> '<PROJECT_ROOT>/packages/lexical-react/flow/DEPRECATED_useLexicalRichText.js.flow'
module.name_mapper='^@lexical/react/DEPRECATED_useLexicalPlainText' -> '<PROJECT_ROOT>/packages/lexical-react/flow/DEPRECATED_useLexicalPlainText.js.flow'
module.name_mapper='^@lexical/react/DEPRECATED_useLexicalEditorEvents' -> '<PROJECT_ROOT>/packages/lexical-react/flow/DEPRECATED_useLexicalEditorEvents.js.flow'
module.name_mapper='^@lexical/react/DEPRECATED_useLexicalAutoFormatter' -> '<PROJECT_ROOT>/packages/lexical-react/flow/DEPRECATED_useLexicalAutoFormatter.js.flow'
module.name_mapper='^@lexical/react/DEPRECATED_useLexicalDecorators' -> '<PROJECT_ROOT>/packages/lexical-react/flow/DEPRECATED_useLexicalDecorators.js.flow'
module.name_mapper='^@lexical/react/DEPRECATED_useLexicalList' -> '<PROJECT_ROOT>/packages/lexical-react/flow/DEPRECATED_useLexicalList.js.flow'
module.name_mapper='^@lexical/react/DEPRECATED_useLexicalCanShowPlaceholder' -> '<PROJECT_ROOT>/packages/lexical-react/flow/DEPRECATED_useLexicalCanShowPlaceholder.js.flow'
module.name_mapper='^@lexical/react/DEPRECATED_useLexicalCharacterLimit' -> '<PROJECT_ROOT>/packages/lexical-react/flow/DEPRECATED_useLexicalCharacterLimit.js.flow'
module.name_mapper='^@lexical/react/DEPRECATED_useLexicalHistory' -> '<PROJECT_ROOT>/packages/lexical-react/flow/DEPRECATED_useLexicalHistory.js.flow'
module.name_mapper='^@lexical/react/LexicalComposer' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalComposer.js.flow'
module.name_mapper='^@lexical/react/LexicalComposerContext' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalComposerContext.js.flow'
module.name_mapper='^@lexical/react/LexicalNestedComposer' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalNestedComposer.js.flow'
module.name_mapper='^@lexical/react/LexicalContentEditable' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalContentEditable.js.flow'
module.name_mapper='^@lexical/react/LexicalTreeView' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalTreeView.js.flow'
module.name_mapper='^@lexical/react/LexicalHorizontalRuleNode' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalHorizontalRuleNode.js.flow'
module.name_mapper='^@lexical/react/LexicalDecoratorBlockNode' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalDecoratorBlockNode.js.flow'
module.name_mapper='^@lexical/react/LexicalBlockWithAlignableContents' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalBlockWithAlignableContents.js.flow'
module.name_mapper='^@lexical/react/useLexicalIsTextContentEmpty' -> '<PROJECT_ROOT>/packages/lexical-react/flow/useLexicalIsTextContentEmpty.js.flow'
module.name_mapper='^@lexical/react/useLexicalNodeSelection' -> '<PROJECT_ROOT>/packages/lexical-react/flow/useLexicalNodeSelection.js.flow'
module.name_mapper='^@lexical/react/useLexicalTextEntity' -> '<PROJECT_ROOT>/packages/lexical-react/flow/useLexicalTextEntity.js.flow'
module.name_mapper='^@lexical/react/useLexicalSubscription' -> '<PROJECT_ROOT>/packages/lexical-react/flow/useLexicalSubscription.js.flow'
module.name_mapper='^@lexical/react/useLexicalEditable' -> '<PROJECT_ROOT>/packages/lexical-react/flow/useLexicalEditable.js.flow'
# Composer Plugins
module.name_mapper='^@lexical/react/LexicalPlainTextPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalPlainTextPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalRichTextPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalRichTextPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalTypeaheadMenuPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalTypeaheadMenuPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalHistoryPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalHistoryPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalOnChangePlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalOnChangePlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalHashtagPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalHashtagPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalErrorBoundary' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalErrorBoundary.js.flow'
module.name_mapper='^@lexical/react/LexicalMarkdownShortcutPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalMarkdownShortcutPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalAutoFocusPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalAutoFocusPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalTableOfContents__EXPERIMENTAL' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalTableOfContents__EXPERIMENTAL.js.flow'
module.name_mapper='^@lexical/react/LexicalAutoFormatterPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalAutoFormatterPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalCharacterLimitPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalCharacterLimitPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalClearEditorPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalClearEditorPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalCollaborationContext' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalCollaborationContext.js.flow'
module.name_mapper='^@lexical/react/LexicalCollaborationPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalCollaborationPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalTablePlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalTablePlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalLinkPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalLinkPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalAutoLinkPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalAutoLinkPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalAutoEmbedPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalAutoEmbedPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalNodeEventPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalNodeEventPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalTabIndentationPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalTabIndentationPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalListPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalListPlugin.js.flow'
module.name_mapper='^@lexical/react/LexicalCheckListPlugin' -> '<PROJECT_ROOT>/packages/lexical-react/flow/LexicalCheckListPlugin.js.flow'
module.name_mapper='^@lexical/dragon/LexicalDragon' -> '<PROJECT_ROOT>/packages/lexical-dragon/flow/LexicalDragon.js.flow'
module.name_mapper='^@lexical/history/LexicalHistory' -> '<PROJECT_ROOT>/packages/lexical-history/flow/LexicalHistory.js.flow'
module.name_mapper='^@lexical/link/LexicalLink' -> '<PROJECT_ROOT>/packages/lexical-link/flow/LexicalLink.js.flow'
module.name_mapper='^@lexical/markdown/LexicalMarkdown' -> '<PROJECT_ROOT>/packages/lexical-markdown/flow/LexicalMarkdown.js.flow'
module.name_mapper='^@lexical/headless/LexicalHeadless' -> '<PROJECT_ROOT>/packages/lexical-markdown/flow/LexicalHeadless.js.flow'
module.name_mapper='^@lexical/offset/LexicalOffset' -> '<PROJECT_ROOT>/packages/lexical-offset/flow/LexicalOffset.js.flow'
module.name_mapper='^@lexical/overflow/LexicalOverflow' -> '<PROJECT_ROOT>/packages/lexical-overflow/flow/LexicalOverflow.js.flow'
module.name_mapper='^@lexical/plain-text/LexicalPlainText' -> '<PROJECT_ROOT>/packages/lexical-plain-text/flow/LexicalPlainText.js.flow'
module.name_mapper='^@lexical/rich-text/LexicalRichText' -> '<PROJECT_ROOT>/packages/lexical-rich-text/flow/LexicalRichText.js.flow'
module.name_mapper='^@lexical/selection/LexicalSelection' -> '<PROJECT_ROOT>/packages/lexical-selection/flow/LexicalSelection.js.flow'
module.name_mapper='^@lexical/text/LexicalText' -> '<PROJECT_ROOT>/packages/lexical-text/flow/LexicalText.js.flow'
module.name_mapper='^@lexical/utils/LexicalUtils' -> '<PROJECT_ROOT>/packages/lexical-utils/flow/LexicalUtils.js.flow'
module.name_mapper='^@lexical/yjs$' -> '<PROJECT_ROOT>/packages/lexical-yjs/flow/LexicalYjs.js.flow'
module.name_mapper='^shared/simpleDiffWithCursor' -> '<PROJECT_ROOT>/packages/shared/src/simpleDiffWithCursor.js'
module.name_mapper='^shared/invariant' -> '<PROJECT_ROOT>/packages/shared/src/invariant.js'
module.name_mapper='^shared/warnOnlyOnce' -> '<PROJECT_ROOT>/packages/shared/src/warnOnlyOnce.js'
module.name_mapper='^shared/environment' -> '<PROJECT_ROOT>/packages/shared/src/environment.js'
module.name_mapper='^shared/useLayoutEffect' -> '<PROJECT_ROOT>/packages/shared/src/useLayoutEffect.js'
module.name_mapper='^shared/canUseDOM' -> '<PROJECT_ROOT>/packages/shared/src/canUseDOM.js'
module.name_mapper='^shared/caretFromPoint' -> '<PROJECT_ROOT>/packages/shared/src/caretFromPoint.js'
munge_underscores=false
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_type=$FlowExpectedError
[libs]
./libdefs/
./scripts/flow/environment.js
./flow-typed/yjs.js
./flow-typed/prism.js
[strict]
nonstrict-import
unclear-type