dojo / test-extras

:rocket: Dojo 2 - set of modules to help with testing Dojo.
http://dojo.io
Other
0 stars 14 forks source link

Add Prettier with tslint plugin and precommit hook #94

Closed agubler closed 6 years ago

agubler commented 6 years ago

Type: feature

The following has been addressed in the PR:

Description:

Adds support for Prettier to for code style rules and formatting. Include precommit hook that runs prettier on all .ts files and an npm script that runs prettier against the codebase.

Related to https://github.com/dojo/meta/issues/206

codecov[bot] commented 6 years ago

Codecov Report

Merging #94 into master will decrease coverage by 0.28%. The diff coverage is 96.96%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #94      +/-   ##
=========================================
- Coverage   99.39%   99.1%   -0.29%     
=========================================
  Files          10      10              
  Lines         659     674      +15     
  Branches      181     185       +4     
=========================================
+ Hits          655     668      +13     
- Partials        4       6       +2
Impacted Files Coverage Δ
src/resolvers.ts 100% <ø> (ø) :arrow_up:
src/support/callListener.ts 100% <100%> (ø) :arrow_up:
src/support/loadJsdom.ts 100% <100%> (ø) :arrow_up:
src/harness.ts 99.32% <100%> (ø) :arrow_up:
src/main.ts 100% <100%> (ø) :arrow_up:
src/support/d.ts 100% <100%> (ø) :arrow_up:
src/support/sendEvent.ts 97.22% <100%> (-0.22%) :arrow_down:
src/support/AssertionError.ts 100% <100%> (ø) :arrow_up:
src/support/compare.ts 98.59% <95%> (-0.91%) :arrow_down:
src/support/assertRender.ts 98.57% <96.42%> (+0.04%) :arrow_up:

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 6ef570e...b8e2423. Read the comment docs.