You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vue-cli already offers, out of the box, linting/styling using prettier, standard or airbnb presets.
But what about using prettier along with some of these other setups? Prettier is a lot more apt at styling the code than eslint is, and using it alongside different linters usually make sense.
By having an alternative to @vue/cli-plugin-eslint that instead of calling plain eslint, calls prettier-eslint would allow more flexibility when mixing prettier with different linting presets.
As far as I can see, code would be exactly the same, just passing in prettier configuration.
What does the proposed API look like?
vue-cli-service prettier-lint
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
Vue-cli already offers, out of the box, linting/styling using prettier, standard or airbnb presets.
But what about using prettier along with some of these other setups? Prettier is a lot more apt at styling the code than eslint is, and using it alongside different linters usually make sense.
By having an alternative to
@vue/cli-plugin-eslint
that instead of calling plaineslint
, callsprettier-eslint
would allow more flexibility when mixing prettier with different linting presets.As far as I can see, code would be exactly the same, just passing in prettier configuration.
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: