Skip to content

support '..' in ignoreDir #551

Open
@tinyleolin

Description

@tinyleolin

The structure of my project:

my_project
├── common
│   ├── template
│   └── ...
├── a_service
│   ├── .emmyrc.json
│   ├── a_service.code-workspace
│   └── lua
└── b_service
│   ├── .emmyrc.json
│   ├── b_service.code-workspace
│   └── lua
...

The content in a_service/a_service.code-workspace

{
    "folders": [
        {
            "path": "."
        },
        {
            "path": "../common"
        }
    ]
}

In a_service/.emmyrc.json, I need to exclude common/template, but I can't.

{
    "workspace": {
        "ignoreDir": [
            "template",
            "common/template",
            "../common/template",
            "**/template",
        ]
    }
}

All of these 4 items have no effect. The plugin just parses the template files and reports a bunch of errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions