.eslintrc.json for each individual project needed and what does in ignorePatterns "!**/*"?

Viewed 22

I recently migrated my angular project to eslint, I had many tslint.json files laying around (due to many projects) and now I've got many .eslintrc.json. They look like this right now:

{
  "extends": "../../.eslintrc.json",
  "ignorePatterns": [
    "!**/*"
  ]
}

Does it even make sense to keep all these individual eslintrc.json files? Only my root eslintrc JSON is big and contains all the rules. Maybe in the future I could add overwrites for specific projects, but this is currently not needed. Does eslint need these individual eslintrc.json for performance reasons? And I know what ignorePatterns is, but what does !**/* mean? Thank you very much!

0 Answers
Related