The yarn lint command uses ESLint to check linting:
You can use glob syntax and I suppose we can define what we want only with one glob pattern:
"lint": "eslint --fix **src/*.ts; eslint --fix **src/**/*.ts; eslint --fix __tests__/**/*.ts",
"lint-check": "eslint **src/*.ts; eslint **src/**/*.ts; eslint __tests__/**/*.ts",
instead of calling ESLint three issues.