e3791aefdc
* adding functionality to detect user download speed * calculating bandwidth speed more intelligently * saving download speed and updating it every 30s * all the functionality should be done needs testing * fix linting * use a 1mb file for calculating bandwidth * add optional chaining plugin to babel and get bitrate from texttrack * allow optional chaining for flow * ignore flow error * disable bandwidth checking functionality * fix flow error
57 lines
2 KiB
Text
57 lines
2 KiB
Text
[ignore]
|
|
.*\.typeface\.json
|
|
.*/node_modules/findup/.*
|
|
.*/node_modules/react-plastic/.*
|
|
|
|
|
|
[include]
|
|
|
|
[libs]
|
|
./flow-typed
|
|
node_modules/lbry-redux/flow-typed/
|
|
node_modules/lbryinc/flow-typed/
|
|
|
|
[untyped]
|
|
.*/node_modules/lbry-redux
|
|
.*/node_modules/lbryinc
|
|
|
|
[lints]
|
|
|
|
[options]
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
|
|
module.name_mapper='^constants\(.*\)$' -> '<PROJECT_ROOT>/ui/constants\1'
|
|
module.name_mapper='^util\(.*\)$' -> '<PROJECT_ROOT>/ui/util\1'
|
|
module.name_mapper='^redux\(.*\)$' -> '<PROJECT_ROOT>/ui/redux\1'
|
|
module.name_mapper='^types\(.*\)$' -> '<PROJECT_ROOT>/ui/types\1'
|
|
module.name_mapper='^component\(.*\)$' -> '<PROJECT_ROOT>/ui/component\1'
|
|
module.name_mapper='^page\(.*\)$' -> '<PROJECT_ROOT>/ui/page\1'
|
|
module.name_mapper='^lbry\(.*\)$' -> '<PROJECT_ROOT>/ui/lbry\1'
|
|
module.name_mapper='^modal\(.*\)$' -> '<PROJECT_ROOT>/ui/modal\1'
|
|
module.name_mapper='^app\(.*\)$' -> '<PROJECT_ROOT>/ui/app\1'
|
|
module.name_mapper='^native\(.*\)$' -> '<PROJECT_ROOT>/ui/native\1'
|
|
module.name_mapper='^analytics\(.*\)$' -> '<PROJECT_ROOT>/ui/analytics\1'
|
|
module.name_mapper='^recsys\(.*\)$' -> '<PROJECT_ROOT>/ui/recsys\1'
|
|
module.name_mapper='^rewards\(.*\)$' -> '<PROJECT_ROOT>/ui/rewards\1'
|
|
module.name_mapper='^i18n\(.*\)$' -> '<PROJECT_ROOT>/ui/i18n\1'
|
|
module.name_mapper='^effects\(.*\)$' -> '<PROJECT_ROOT>/ui/effects\1'
|
|
module.name_mapper='^comments\(.*\)$' -> '<PROJECT_ROOT>/ui/comments\1'
|
|
module.name_mapper='^config\(.*\)$' -> '<PROJECT_ROOT>/config\1'
|
|
module.name_mapper='^web\/component\(.*\)$' -> '<PROJECT_ROOT>/web/component\1'
|
|
module.name_mapper='^web\/effects\(.*\)$' -> '<PROJECT_ROOT>/web/effects\1'
|
|
module.name_mapper='^web\/page\(.*\)$' -> '<PROJECT_ROOT>/web/page\1'
|
|
module.name_mapper='^homepage\(.*\)$' -> '<PROJECT_ROOT>/ui/util/homepage\1'
|
|
module.name_mapper='^scss\/component\(.*\)$' -> '<PROJECT_ROOT>/ui/scss/component/\1'
|
|
|
|
esproposal.optional_chaining=enable
|
|
|
|
; Extensions
|
|
module.file_ext=.js
|
|
module.file_ext=.jsx
|
|
module.file_ext=.json
|
|
module.file_ext=.css
|
|
module.file_ext=.scss
|
|
|
|
|
|
|
|
[strict]
|