7 lines
191 B
JavaScript
7 lines
191 B
JavaScript
|
module.exports = {
|
||
|
"*.{js,ts,tsx}": (filenames) =>
|
||
|
`next lint --max-warnings=0 --fix --file ${filenames
|
||
|
.map((file) => file.split(process.cwd())[1])
|
||
|
.join(" --file ")}`,
|
||
|
};
|