Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example doesn't get things to fire #2

Closed
emarcotte opened this issue Oct 10, 2018 · 1 comment
Closed

Example doesn't get things to fire #2

emarcotte opened this issue Oct 10, 2018 · 1 comment

Comments

@emarcotte
Copy link

emarcotte commented Oct 10, 2018

Hi,

The example in the README doesn't quite cause xo to fire for me. I find that I actually need to specify the extensions, something like:

{
	"name": "my-awesome-project",
	"xo": {
		"extends": "xo-typescript",
		"extensions": ["ts"]
	}
}

Is this expected behavior?

@sindresorhus
Copy link
Member

Yes, that's currently needed. I forgot to document it.

Hopefully, eslint/eslint#10828 will be fixed at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants