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

"prettier.tslintIntegration": true -> support #1315

Open
ScreamZ opened this issue May 31, 2019 · 1 comment
Open

"prettier.tslintIntegration": true -> support #1315

ScreamZ opened this issue May 31, 2019 · 1 comment

Comments

@ScreamZ
Copy link

ScreamZ commented May 31, 2019

Hello,

I'm struggling hard making this works… Currently in my node based project I used

{
  "prettier.tslintIntegration": true,
  "prettier.printWidth": 120
}

And the prettier extension automatically reads from my tslint.json rules.

I'm not able to make this works with vetur, the plugin is removing trailing-slashes all the time…

Any idea how to deal with that ? Support ?

I can write documentation PR when I achieve this goal.

Best regards

@yoyo930021
Copy link
Member

you can use .prettierrc file at project root.
or

"vetur.format.defaultFormatterOptions": {
  "prettier": {
    // Prettier option here
    "semi": false
  }
}

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

No branches or pull requests

3 participants