Skip to content

Instantly share code, notes, and snippets.

@romanlex
Last active May 22, 2018 09:39
Show Gist options
  • Save romanlex/ad49a6cb36f7e3288cafade127ca59f6 to your computer and use it in GitHub Desktop.
Save romanlex/ad49a6cb36f7e3288cafade127ca59f6 to your computer and use it in GitHub Desktop.
[ignore]
<PROJECT_ROOT>/app/*
<PROJECT_ROOT>/bin/*
<PROJECT_ROOT>/config/*
<PROJECT_ROOT>/db/*
<PROJECT_ROOT>/doc/*
<PROJECT_ROOT>/dockerfiles/*
<PROJECT_ROOT>/engines/*
<PROJECT_ROOT>/kubernetes/*
<PROJECT_ROOT>/lib/*
<PROJECT_ROOT>/log/*
<PROJECT_ROOT>/public/*
<PROJECT_ROOT>/script/*
<PROJECT_ROOT>/spec/*
<PROJECT_ROOT>/tmp/*
<PROJECT_ROOT>/client/node_modules/babel-plugin-transform-react-remove-prop-types/*
<PROJECT_ROOT>/client/node_modules/findup/*
<PROJECT_ROOT>/client/node_modules/immutable/*
<PROJECT_ROOT>/client/node_modules/jss/*
<PROJECT_ROOT>/client/node_modules/react-motion/*
<PROJECT_ROOT>/client/node_modules/youtube-player/*
<PROJECT_ROOT>/client/node_modules/react-final-form/*
<PROJECT_ROOT>/client/node_modules/promise/*
.*/.vscode/.*
.*/.idea/.*
.*/**/es/*.flow
[include]
./client/packages/app/src
./client/packages/docs/src
./client/packages/ui/src
./client/packages/tasks/src
./client/packages/pdf-generator/src
[libs]
./client/flow-typed
./client/flow/
[lints]
all=warn
untyped-type-import=error
[options]
emoji=true
include_warnings=true
module.use_strict=true
esproposal.export_star_as=enable
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
suppress_comment=\\(.\\|\n\\)*\\$FlowIgnore
# webpack loaders
module.name_mapper.extension='scss' -> '<PROJECT_ROOT>/client/flow/CSSFlowStub'
module.name_mapper.extension='sass' -> '<PROJECT_ROOT>/client/flow/CSSFlowStub'
module.name_mapper.extension='css' -> '<PROJECT_ROOT>/client/flow/CSSFlowStub'
module.name_mapper.extension='jpg' -> '<PROJECT_ROOT>/client/flow/UrlLoader'
module.name_mapper.extension='png' -> '<PROJECT_ROOT>/client/flow/UrlLoader'
module.name_mapper.extension='svg' -> '<PROJECT_ROOT>/client/flow/UrlLoader'
module.name_mapper.extension='ttf' -> '<PROJECT_ROOT>/client/flow/UrlLoader'
# webpack aliases
module.name_mapper='^\(actions\|api\|components\|constants\|containers\|lib\|reducers\|routes\|startup\|store\|types\)\/\(.*\)$' -> '<PROJECT_ROOT>/client/packages/app/src/\1/\2'
module.name_mapper='^\(actions\|api\|components\|constants\|containers\|lib\|reducers\|routes\|startup\|store\|types\)$' -> '<PROJECT_ROOT>/client/packages/app/src/\1/index'
module.name_mapper='^\(@project/pdf-generator\)$' -> '<PROJECT_ROOT>/client/packages/pdf-generator/src/index'
module.name_mapper='^\(@project/ui\)$' -> '<PROJECT_ROOT>/client/packages/ui/src/components/index'
module.name_mapper='^\(@project/tasks\)$' -> '<PROJECT_ROOT>/client/packages/tasks/src/index'
module.name_mapper='^\(@project/app\)\/\(.*\)$' -> '<PROJECT_ROOT>/client/packages/app/\1/\2'
module.system.node.resolve_dirname=<PROJECT_ROOT>/client/node_modules
module.system.node.resolve_dirname=<PROJECT_ROOT>/client/packages/app/node_modules
module.system.node.resolve_dirname=<PROJECT_ROOT>/client/packages/docs/node_modules
module.system.node.resolve_dirname=<PROJECT_ROOT>/client/packages/tasks/node_modules
module.system.node.resolve_dirname=<PROJECT_ROOT>/client/packages/ui/node_modules
module.system.node.resolve_dirname=<PROJECT_ROOT>/client/packages/pdf-generator/node_modules
[strict]
[version]
0.72.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment