dojo / interop

Provides bindings and interoperability between Dojo packages and other libraries
Other
1 stars 14 forks source link

Add Prettier with tslint plugin and precommit hook #21

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 #21 into master will increase coverage by 0.36%. The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
+ Coverage   92.85%   93.22%   +0.36%     
==========================================
  Files           2        2              
  Lines          56       59       +3     
  Branches       13       15       +2     
==========================================
+ Hits           52       55       +3     
  Misses          2        2              
  Partials        2        2
Impacted Files Coverage Δ
src/dijit/DijitWrapper.ts 94% <88.88%> (+0.38%) :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 10daca4...5cfdde9. Read the comment docs.