pinterest / esprint

Fast eslint runner
Apache License 2.0
660 stars 54 forks source link

Esprint can't read and deal with `overrides` field in .eslintrc.* file #157

Open jaysonwu991 opened 2 years ago

jaysonwu991 commented 2 years ago

When I run esprint check command in my project, the result is different from just running eslint command to lint. You can take a look below:

WX20211014-150531@2x WX20211014-151042@2x
gajus commented 2 years ago

A fix for this would be nice. Currently it makes it not usable with more complicated configs like https://github.com/gajus/eslint-config-canonical

black7375 commented 2 years ago

ignorePatterns also can be used. https://github.com/SchemaStore/schemastore/blob/1059962c5ca68d0787517cb9a0db0edb3411d084/src/schemas/json/eslintrc.json#L1401