Skip to content

Commit

Permalink
[fix] add file extensions for eslint 7 command
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip committed Dec 23, 2020
1 parent dd9501e commit 0b61cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xarc-app-dev/src/lib/tasks/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export function eslint7Tasks(xarcOptions: any, xclap: any) {
})
.filter(x => x)
.join(" ");
return xclap.exec(`eslint ${validDirs}`);
return xclap.exec(`eslint --ext .js,.ts,.jsx,.tsx ${validDirs}`);
}
}
};
Expand Down

0 comments on commit 0b61cab

Please sign in to comment.