[libs]
./flow-typed

[ignore]
<PROJECT_ROOT>/.*/dist
<PROJECT_ROOT>/.*/node_modules
<PROJECT_ROOT>/flow-api-translator/__tests__/flowDefToTSDef/fixtures
<PROJECT_ROOT>/flow-api-translator/__tests__/flowToJS/fixtures
<PROJECT_ROOT>/prettier-hermes-v2-backport

[options]
name=hermes-parser
emoji=true
file_watcher=watchman
lazy_mode=true
module.system=node
munge_underscores=true
; Yarn workspaces hoist packages to the top level node_modules, causing module resolution errors if
; we do not specify where each package's type definitions can be found.
module.name_mapper='^hermes-parser$' -> '<PROJECT_ROOT>/hermes-parser/src/index.js'
module.name_mapper='^hermes-estree$' -> '<PROJECT_ROOT>/hermes-estree/src/index.js'
module.name_mapper='^hermes-eslint$' -> '<PROJECT_ROOT>/hermes-eslint/src/index.js'
module.name_mapper='^hermes-transform$' -> '<PROJECT_ROOT>/hermes-transform/src/index.js'
module.name_mapper='^prettier-plugin-hermes-parser$' -> '<PROJECT_ROOT>/prettier-plugin-hermes-parser/src/index.js'

enums=true
component_syntax=false
experimental.pattern_matching=false

[version]
^0.295.0

[lints]
untyped-type-import=error
unclear-type=error

; ES6 module lints
invalid-import-star-use=error
non-const-var-export=error
this-in-exported-function=error
mixed-import-and-require=error
export-renamed-default=error
default-import-access=error

[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import
