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

Handling Conflicts #3

Open
azz opened this issue Dec 7, 2017 · 1 comment
Open

Handling Conflicts #3

azz opened this issue Dec 7, 2017 · 1 comment

Comments

@azz
Copy link
Member

azz commented Dec 7, 2017

There will be conflicts between different linters. How do we resolve them?

For example, Prettier may switch quotes from ' to ", and ESLint might switch them to `.

@zimme
Copy link
Member

zimme commented Dec 7, 2017

I'm thinking this will be determined by the order in which the linters run.

If you run prettier before eslint, eslint will format prettiers output and so eslint rules would win.

In the case of prettiers adapter I'm thinking the readme for that adapter should recommend using eslint-config-prettier or tslint-config-prettier if one is using both prettier and eslint and tslint.

i.e. Let's try and not worry about this, and see if there's a way for users to take care of it.

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