forked from mozilla/addons-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flowconfig
27 lines (23 loc) · 947 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
[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/eslint-plugin-jsx-a11y/.*
.*/node_modules/react-nested-status/node_modules/.*
.*/node_modules/stylelint
.*/node_modules/@snyk/composer-lockfile-parser/.*
.*/node_modules/resolve
[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
# suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
# suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore