Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
During PR #3002 I've noticed that Travis failed because of linting errors. With this PR I'd like to fix that problem and use prettier-standard.
Prettier by itself is not customizable. That's why I've used Standardx in the PR #2992 that was planned to add code formatting.
Not sure what's the best way to proceed. I'm also not sure when Prettier was merged to master but I think the current setup is a bit confusing and the Standardx setup is easier to understand.
I think both will work - just the other PR needs to be updated. Please let me know how to proceed if we take this one we can close the other PR.
If the other is preferred I should update it and check linting.
There were also two prettier config files that I have combined into one. I removed trailing comma rule from .prettierrc as standard.js is with-out trailing comma.
Most changes are adding space before parens to fix the space-before-parens lint issue.
Issue fixed
Type of changes
Checklist: