As mentioned in eslint documentation, you should
use ignores
key instead of ignorePatterns
.
// .eslintrc.json
{
// ...
"ignore": ["graphql/generated/", "third-party/"],
// ...
}
But I rather to use .eslintignore
file which do the same thing.
// .eslintignore
./graphql/generated/
./third-party/