Skip to content

Absolute Paths #87

@ashconnell

Description

@ashconnell

ESLint outputs absolute paths in the console which allows editors such as VSCode to click and open the file. This library reports them as relative which means you have to manually find and open the file.

Would you accept a PR to update this to be more consistent with ESLint?

It's just a matter of changing the following

- filename: path.relative(process.cwd(), file.path),
+ filename: file.path,

Alternatively we could add an option to configure this.

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