28 строки
947 B
Plaintext
28 строки
947 B
Plaintext
[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
|