Skip to content

Commit

Permalink
fix: Make eslint --fix work on .mjs files
Browse files Browse the repository at this point in the history
  • Loading branch information
dtinth authored and zimme committed Jun 22, 2018
1 parent 070b30b commit ca1c212
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ function format(options) {
".js",
".jsx",
".ts",
".tsx"
".tsx",
".mjs"
];
const fileExtension = path.extname(filePath || "");

Expand Down

0 comments on commit ca1c212

Please sign in to comment.