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

Setup Prettier with ESLint integration #142

Merged
merged 2 commits into from
Jul 7, 2018

Conversation

josemarluedke
Copy link
Member

@josemarluedke josemarluedke commented Jul 7, 2018

Open for suggestions if this is not desired, but I personally find it very useful to have a project with Prettier configured with ESLint integration.

It seems some code has the comma dangle option enabled, I'm happy to add that into the prettier config and rerun the fixes. I have added the trailingComma option and fixed all the code around this config.

"eslint-plugin-ember": "^5.0.0",
"eslint-plugin-node": "^6.0.1",
"loader.js": "^4.2.3"
"eslint-plugin-prettier": "2.6.0",
Copy link
Member Author

@josemarluedke josemarluedke Jul 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This dependency's version is fixed because of this problem: ember-cli/ember-cli-eslint#235

Once that is fixed, we should be able to relax the version required.

@bgentry
Copy link
Member

bgentry commented Jul 7, 2018

@josemarluedke awesome, I put this off way too long 😬 thank you! ✌️

@bgentry bgentry merged commit 5296032 into ember-graphql:master Jul 7, 2018
@bgentry
Copy link
Member

bgentry commented Jul 7, 2018

@josemarluedke btw feel free to add yourself to the readme contributors list in your next PR!

@josemarluedke josemarluedke deleted the add-prettier branch July 7, 2018 05:16
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

Successfully merging this pull request may close these issues.

2 participants