这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@GantMan
Copy link
Member

@GantMan GantMan commented Feb 5, 2018

envinfo now exposed on solidarity. To be used on upcoming plugins!

( @tabrindle - I couldn't access it via require, so now I'm affixing it. )

Also, this fixes the Standard vs Prettier fight.
prettier/prettier#1139

@codecov
Copy link

codecov bot commented Feb 5, 2018

Codecov Report

Merging #169 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
+ Coverage   83.13%   83.15%   +0.02%     
==========================================
  Files          30       30              
  Lines         575      576       +1     
  Branches       97       97              
==========================================
+ Hits          478      479       +1     
  Misses         64       64              
  Partials       33       33
Impacted Files Coverage Δ
src/types.ts 100% <ø> (ø) ⬆️
src/extensions/functions/solidarityReport.ts 100% <ø> (ø) ⬆️
src/extensions/solidarity-extension.ts 86.66% <100%> (+0.95%) ⬆️

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 bae2311...59c9f40. Read the comment docs.

@GantMan GantMan changed the title lint change and expose envinfo 🙌 lint change and expose envinfo Feb 5, 2018
@GantMan GantMan merged commit df74d10 into master Feb 5, 2018
@GantMan GantMan deleted the change_bells_whistles branch February 5, 2018 03:34
@tabrindle
Copy link
Contributor

I would personally name it envinfoHelpers. At the risk of being verbose, I think it makes sense to have the package name in the context property.

Also a heads up - with 4.x-beta I've been making some changes to the structure of the project, and I'm not sure I'm finished with it yet. Many methods will still be exposed via helpers, but I'm not sure how much to expose, or if I will be subdividing it.

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.

3 participants