forked from mozilla/addons-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flowconfig
28 lines (24 loc) · 944 Bytes
/
.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
[ignore]
# Ignore built/minified addons-frontend code.
<PROJECT_ROOT>/dist/.*
# These modules opt into Flow but we don't need to check them.
.*/node_modules/babel.*
.*/node_modules/enzyme-matchers/.*
.*/node_modules/jest-enzyme/.*
.*/node_modules/eslint-plugin-jsx-a11y/.*
.*/node_modules/react-nested-status/node_modules/.*
.*/node_modules/stylelint
.*/node_modules/@snyk/composer-lockfile-parser/.*
[include]
[libs]
[options]
# This maps all Sass/SCSS imports to a dummy Flow file to suppress import
# errors. It's not necessary for Flow to analyze Sass/SCSS files.
module.name_mapper.extension='scss' -> '<PROJECT_ROOT>/flow/flowStub.js.flow'
module.name_mapper='^tests/\(.*\)$' -> '<PROJECT_ROOT>/tests/\1'
module.system=node
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=./src
log.file=./flow/logs/flow.log
suppress_comment= \\(.\\|\n\\)*\\$FLOW_FIXME
suppress_comment= \\(.\\|\n\\)*\\$FLOW_IGNORE