Printable idea sheet
base_configuration
reqlan rq/bases/base.rq:59
Katz 0.087
Base configuration is distinct from, but related to, configuration.rq.
Optional settings live at `<base>/.reqlan/config.json` ( one config per base ).
For an `.rq` file, the applying base is the nearest ancestor that owns `.reqlan`; that base's config applies when present.
See configuration_location; resolved by reqlan-path-resolve.ts.
- implementation
- reqlan-path-resolve.ts
- tests
- config.test.ts:returns undefined when no config exists, config.test.ts:loads config from the owning base .reqlan, config.test.ts:loads config from an ancestor base, config.test.ts:nearest base config wins over farther ones, config.test.ts:owning base without config does not inherit parent, path-resolve.test.ts:loads importRoots list from nearest base config
Interactive page: base_configuration