Skip to content

Commit 1ad45be

Browse files
committed
Resolve config when getting list of inferred parsers
This lets custom file types specified in prettierrc be found if you're using prettier v1.19
1 parent 14840fa commit 1ad45be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eslint-plugin-prettier.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ module.exports = {
174174
filepath,
175175
Object.assign(
176176
{},
177-
{ ignorePath: '.prettierignore' },
177+
{ resolveConfig: true, ignorePath: '.prettierignore' },
178178
eslintFileInfoOptions
179179
)
180180
);

0 commit comments

Comments
 (0)