Skip to content

Commit

Permalink
Resolve config when getting list of inferred parsers
Browse files Browse the repository at this point in the history
This lets custom file types specified in prettierrc be found if you're
using prettier v1.19
  • Loading branch information
BPScott committed Dec 15, 2019
1 parent 14840fa commit 1ad45be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslint-plugin-prettier.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ module.exports = {
filepath,
Object.assign(
{},
{ ignorePath: '.prettierignore' },
{ resolveConfig: true, ignorePath: '.prettierignore' },
eslintFileInfoOptions
)
);
Expand Down

0 comments on commit 1ad45be

Please sign in to comment.