Chore: Add codemod and betterer config to make barrel imports explicit (#80913)

* chore: add codemod for highlighting barrel imports

* style(frontend): add no-barrel-files plugin to betterer

* chore(betterer): update betterer file

* ci(frontend-metrics): track occurrences of barrel files being imported

* chore: clean up explicit barrel imports codemod script

* chore(codeowners): add explicit barrel imports script

* Add no-barrel-files plugin to betterer configuration

Co-Authored-By: LeventeBalogh <balogh.levente.hu@gmail.com>

---------

Co-authored-by: LeventeBalogh <balogh.levente.hu@gmail.com>
This commit is contained in:
Jack Westbrook
2024-04-15 16:36:19 +02:00
committed by GitHub
co-authored by LeventeBalogh
parent 453a75b767
commit 1dfd34ee79
8 changed files with 526 additions and 11 deletions
+1
View File
@@ -173,6 +173,7 @@
"eslint-plugin-jsdoc": "48.2.3",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-lodash": "7.4.0",
"eslint-plugin-no-barrel-files": "^1.1.0",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-scope": "^8.0.0",