Gajus Kuizinas

Results 766 comments of Gajus Kuizinas

Sharding and parallel linting are separate problems. Assuming a directory: ``` foo.ts bar.ts baz.ts ``` In case of a shard `eslint . --shard 1/3`, `eslint` would only lint `foo.ts` file....

@nzakas alternatively... if there was a way to pass a long list of files to ESLint, that would work too (sharding could be implemented in user land). However, my attempts...

That's basically sharding, but limited by predefined patterns. This suggestion is a generic solution.

Re-opening as I see a lot of value in having this.

> Thanks for explaining. Just so I understand, if you pass --shard 1/3 to Jest right now, it just takes the total number of files, divides it by three, and...

> Hi @gajus, do you plan on making an RFC for this? We would need an RFC to move forward. I am not familiar with ESLint RFC process, but if...

Sorry, won't get to this. Been pushing back on my TODO daily, but other priorities are getting in the way.

@sathieu Is there a workaround?

It is entirely automatic. I just realized I linked to plugin accidentally as opposed to the config https://github.com/gajus/eslint-config-canonical

> The tool will figure out the correct commits for you. It's not clear to me what your use cases are. How does it figure out which commits to use?...