Skip to content

Can't get it to work with xo #30

Open
@tommy-mitchell

Description

@tommy-mitchell

I'm trying to format with xo using this plugin, but it seems like xo is never being called.

Minimal config:

{
	"excludes": ["**/node_modules"],
	"plugins": [
		"https://plugins.dprint.dev/typescript-0.87.1.wasm",
		"https://plugins.dprint.dev/exec-0.4.3.json@42343548b8022c99b1d750be6b894fe6b6c7ee25f72ae9f9082226dd2e515072"
	],
	"exec": {
		"commands": [{
			"command": "xo --fix --stdin --stdin-filename={{file_path}}",
			"exts": ["js", "jsx", "ts", "tsx"]
		}]
	}
}

Minimal repro: https://github.com/tommy-mitchell/dprint-repro-exec-xo

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