1 | module.exports = {
|
2 | "**/*.js?(x)": (filenames) => {
|
3 | let concatedFileNames = filenames
|
4 | .map((filename) => `"${filename}"`)
|
5 | .join(" ");
|
6 | return [
|
7 | `prettier --write ${concatedFileNames}`,
|
8 | `eslint --fix ${concatedFileNames}`,
|
9 | ];
|
10 | },
|
11 | };
|