Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Use of prettier ignores .editorconfig in vscode #74

Closed
SteveALee opened this issue Sep 15, 2019 · 2 comments
Closed

Use of prettier ignores .editorconfig in vscode #74

SteveALee opened this issue Sep 15, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@SteveALee
Copy link

When using the prettier extension in vscode settings in .editorconfig are used (with editorconfig extenison). eg indent set to tab

However when using this svelte extension to invoke prettier for svelte components .editorconfig is ignored.

Thus need to duplicate settings in the prettier config file

@jamesbirtles jamesbirtles added the enhancement New feature or request label Oct 7, 2019
@bobtherobot
Copy link

bobtherobot commented Oct 9, 2019

Prettier also not honoring (both default or workspace):

"editor.detectIndentation": false,
"editor.insertSpaces": false,
"editor.tabSize": 4,

... which translates to "i'm old and use real tab characters, just because i know it bothers anyone born this millennium falcon."

@SteveALee
Copy link
Author

@bobtherobot

which translates to "i'm old and use real tab characters, just because i know it bothers anyone born this millennium falcon."

[off topic]
One unsung feature of sveltejs is the examples sneak in a return to tabs! :-P
I guess the days of inconsitent tabs stops are pretty much gone, though if you ever 'cat' or 'type' you may find the default is 8 and it gets messy again like the bad old days.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants