Skip to content
This repository was archived by the owner on Sep 18, 2026. It is now read-only.
This repository was archived by the owner on Sep 18, 2026. It is now read-only.

Allow specifying what $root is #334

Description

@ondrejmirtes

Right now KOLint assumes that the view model set in <!-- ko-viewmodel --> also specifies what $root is. But these can be two different things.

I imagine this would require new annotation like <!-- ko-root --> or something.

Also, since $root is typically the same for the whole project, it'd be beneficial to allow set it globally, in the config file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions