run eslint in multi repository project

Viewed 8

let's say, I have following project structure:

back/package.json
back/lib/Content/*.js
front/package.json
slices/budget/back/package.json
slices/budget/back/lib/Content/*.js
slices/budget/front/package.json
slices/accounting/back/package.json
slices/accounting/back/lib/Content/*.js
slices/accounting/front/package.json

how do I?

cd back && eslint ./lib/**/*.js ../slices/**/lib/Content/*.js
0 Answers
Related