forked from mozilla/addons-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flowconfig
31 lines (27 loc) · 1.09 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
[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
# See: https://github.com/facebook/flow/blob/master/Changelog.md#01111
module.system.node.allow_root_relative=true
module.system.node.root_relative_dirname=./src
log.file=./flow/logs/flow.log
# suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
# suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
# See https://github.com/mozilla/addons-frontend/pull/9662#issuecomment-700216484
types_first=false