Avoid importing .json files (#12759)

* Avoid importing `.json` files

* Use ESold in babel.config.json

* Use `import/extensions` eslint plugin
This commit is contained in:
Nicolò Ribaudo
2021-02-05 23:34:36 +01:00
committed by GitHub
parent 87f264cc7b
commit e735266dee
28 changed files with 101 additions and 42 deletions

4
lib/package-json.js.flow Normal file
View File

@@ -0,0 +1,4 @@
declare var PACKAGE_JSON: {
name: string;
version: string;
};