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

Integrate prettier #181

Merged
merged 1 commit into from
Sep 12, 2017
Merged

Integrate prettier #181

merged 1 commit into from
Sep 12, 2017

Conversation

vigneshshanmugam
Copy link
Collaborator

  • prettier integration with eslint

"rules": {
"brace-style": [2, "1tbs"],
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

these options are removed from here to match with prettier defaults.

"strict": [2, "global"]
"strict": [2, "global"],
"prettier/prettier": [2, {
"singleQuote": true,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

to match with quotes option in eslint

return Promise.resolve(new Transform(handledTags, insertBeforePipeTags))
.then((transform => transform.applyTransforms(baseTemplate, childTemplate, fullRendering)));
};
module.exports = (handledTags, insertBeforePipeTags) => (
Copy link
Collaborator Author

@vigneshshanmugam vigneshshanmugam Sep 8, 2017

Choose a reason for hiding this comment

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

this module looks so much nicer.

'<fragment src="https://fragment/1"></fragment>'
);

getResponse('http://localhost:8081/test')
Copy link
Collaborator Author

@vigneshshanmugam vigneshshanmugam Sep 8, 2017

Choose a reason for hiding this comment

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

the more deeper the function level gets, it gets really screwed up

@zalando zalando deleted a comment from codecov bot Sep 8, 2017
@addityasingh
Copy link
Contributor

👍

@vigneshshanmugam
Copy link
Collaborator Author

👍

1 similar comment
@addityasingh
Copy link
Contributor

👍

@vigneshshanmugam vigneshshanmugam merged commit 8057370 into master Sep 12, 2017
@vigneshshanmugam vigneshshanmugam deleted the prettier branch September 12, 2017 12:41
@codecov
Copy link

codecov bot commented Sep 12, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@dd86636). Click here to learn what that means.
The diff coverage is 98.88%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #181   +/-   ##
=========================================
  Coverage          ?   97.25%           
=========================================
  Files             ?       14           
  Lines             ?      582           
  Branches          ?      103           
=========================================
  Hits              ?      566           
  Misses            ?       16           
  Partials          ?        0
Impacted Files Coverage Δ
lib/request-fragment.js 100% <100%> (ø)
lib/serializer.js 96.22% <100%> (ø)
lib/streams/async-stream.js 100% <100%> (ø)
lib/transform.js 100% <100%> (ø)
lib/streams/stringifier-stream.js 100% <100%> (ø)
lib/request-handler.js 97.14% <100%> (ø)
lib/streams/content-length-stream.js 100% <100%> (ø)
lib/fragment.js 100% <100%> (ø)
lib/parse-template.js 100% <100%> (ø)
lib/fetch-template.js 100% <100%> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd86636...8eba6d1. Read the comment docs.

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

Successfully merging this pull request may close these issues.

2 participants