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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eslint-plugin-prettier.js

Lines changed: 1 addition & 1 deletion
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)