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

Configure Prettier/eslint #49

Open
edmundmiller opened this issue Jan 12, 2020 · 2 comments
Open

Configure Prettier/eslint #49

edmundmiller opened this issue Jan 12, 2020 · 2 comments

Comments

@edmundmiller
Copy link

Related to #20

I'd like to use this script https://github.com/paulolramos/eslint-prettier-airbnb-react to set it up. Take a look over the user set values(line width) and let me know what the group would like them set to.

This can be added to the GH actions also.

@EraYaN
Copy link
Contributor

EraYaN commented Jan 12, 2020

In other places we use a tab length of 4 and no enforced line width.
Preferably it would take its tab length setting from .editorconfig

@TiraelSedai
Copy link

Setting tabs to 4 spaces and getting it from .editorconfig is easy, just have isoptions.editorconfig=true, however there is no such thing as "no enforced line width" with Prettier.

It will set it to default (which is 80) if none specified and will always resize all lines in accordance with line width settings.

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

No branches or pull requests

3 participants