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

fix(prettierignore): properly ignore files again#447

Merged
robwise merged 1 commit intomasterfrom
rob/prettierignore-hotfix
Aug 23, 2018
Merged

fix(prettierignore): properly ignore files again#447
robwise merged 1 commit intomasterfrom
rob/prettierignore-hotfix

Conversation

@robwise
Copy link
Copy Markdown
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 force-pushed the rob/prettierignore-hotfix branch from 831a9f3 to e5a524f Compare August 23, 2018 02:31
@robwise robwise changed the title fix(prettierignore): properly recognized that files are ignored fix(prettierignore): properly ignore files again Aug 23, 2018
@robwise robwise force-pushed the rob/prettierignore-hotfix branch from e5a524f to b5dd969 Compare August 23, 2018 02:32
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
Copy Markdown

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 force-pushed the rob/prettierignore-hotfix branch from b5dd969 to dd4c849 Compare August 23, 2018 02:34
@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