-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flowconfig
74 lines (66 loc) · 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
[ignore]
.*/node_modules/styled-components/.*
.*/website/dist/sandbox/.*
.*/website/.*
.*/docs/templates/.*
.*/packages/bitbucket/codemod-util-shared-styles-to-theme/__fixtures__/.*
.*/packages/elements/icon/cjs/.*
.*/node_modules/stylelint/.*
.*/node_modules/babel-flow-types/.*
.*/node_modules/babel-normalize-comments/.*
.*/node_modules/extract-react-types/.*
# Older versions of button which are transitive deps may contain flow errors/warnings
<PROJECT_ROOT>/node_modules/@atlaskit/button/.*
.*/.git/.*
[untyped]
.*/node_modules/react-select
[include]
[libs]
[options]
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/bitbucket/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/core/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/build/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/css-packs/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/editor/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/elements/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/growth/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/home/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/jira/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/media/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/navigation/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/people-and-teams/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/search/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/service-desk/\1/src/index'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/trello/\1/src/index'
# Multi entry point support code
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/bitbucket/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/core/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/build/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/css-packs/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/ecosystem/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/editor/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/elements/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/growth/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/home/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/jira/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/media/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/navigation/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/people-and-teams/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/search/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/service-desk/\1/src/\2'
module.name_mapper='^@atlaskit\/\([a-zA-Z0-9_\-]+\)\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/trello/\1/src/\2'
module.name_mapper='\!\!style-loader\!css-loader\!.*' -> '<PROJECT_ROOT>/typings/style-loader-css-loader.js'
module.name_mapper='\!\!raw-loader\!.*' -> '<PROJECT_ROOT>/typings/raw-loader.js'
module.name_mapper='\!\!extract-react-types-loader\!.*' -> '<PROJECT_ROOT>/typings/extract-react-types-loader.js'
module.name_mapper='extract-react-types' -> '<PROJECT_ROOT>/typings/extract-react-types.js'
module.name_mapper='.*\.md' -> '<PROJECT_ROOT>/typings/md.js'
module.name_mapper.extension='less' -> '<PROJECT_ROOT>/typings/less.js'
suppress_comment=\\(.\\|\n\\)*\\$ExpectError
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
suppress_comment=\\(.\\|\n\\)*\\$StringLitteral
# Show warnings when running flow as we run flow with --max-warnings=0 to fail in CI
include_warnings=true
[lints]
# Disable standard linting rules so we can fail on warnings caused by 'Unused suppression' only
# 'Unused suppression' lints cannot be specifically elevated to errors - https://github.com/facebook/flow/issues/6891
all=off