79300654

Date: 2024-12-22 07:57:45
Score: 1
Natty:
Report link

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/
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Khashayar