Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

fix(prettierignore): properly ignore files again #447

Merged
merged 1 commit into from
Aug 23, 2018

Conversation

robwise
Copy link
Collaborator

@robwise robwise commented Aug 23, 2018

PR #404 changed to using Prettier's getFileInfo and resolveConfig functions to determine
whether a file is formattable. We were not correctly invoking the API for getFileInfo so every
file was coming up as not ignored.

Fixes #446

@robwise robwise changed the title fix(prettierignore): properly recognized that files are ignored fix(prettierignore): properly ignore files again Aug 23, 2018
PR #404 changed to using Prettier's `getFileInfo` and `resolveConfig` functions to determine
whether a file is formattable. We were not correctly invoking the API for `getFileInfo` so every
file was coming up as not ignored.

Fixes #446
@codecov-io
Copy link

codecov-io commented Aug 23, 2018

Codecov Report

Merging #447 into master will increase coverage by 0.17%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #447      +/-   ##
==========================================
+ Coverage   73.58%   73.75%   +0.17%     
==========================================
  Files          29       29              
  Lines         458      461       +3     
  Branches       46       46              
==========================================
+ Hits          337      340       +3     
  Misses        103      103              
  Partials       18       18
Impacted Files Coverage Δ
src/helpers/isFileFormattable.js 100% <100%> (ø) ⬆️

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 f9e96ff...dd4c849. Read the comment docs.

@robwise robwise merged commit 3a2ca1e into master Aug 23, 2018
@robwise robwise deleted the rob/prettierignore-hotfix branch August 23, 2018 02:43
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.

Ignored File is written
2 participants